Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
2ca901637667ff7ab3eee8546d3f129cb0f492bd
/
.
/
Tests
/
CompileFeatures
/
cxx_reference_qualified_functions.cpp
blob: 2fd36e05c0fe8120ef7012425ed86278f1a28e67 [
file
] [
log
] [
blame
]
struct
test
{
void
f
()
&
{}
void
f
()
&&
{}
};
void
someFunc
()
{
test t
;
t
.
f
();
// lvalue
test
().
f
();
// rvalue
}