Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
4771c4e447c88a0e6a361d98c2c6f44ac7746ad3
/
.
/
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
}