1 struct RefQualifierTest { fRefQualifierTest2 void f() & {}; fRefQualifierTest3 void f() && {}; 4 }; 5 6 // RUN: c-index-test -test-print-type -std=c++11 %s | FileCheck %s 7 // CHECK: CXXMethod=f:2:8 (Definition) [type=void () {{.*}}&] [typekind=FunctionProto] lvalue-ref-qualifier [resulttype=void] [resulttypekind=Void] [isPOD=0] 8 // CHECK: CXXMethod=f:3:8 (Definition) [type=void () {{.*}}&&] [typekind=FunctionProto] rvalue-ref-qualifier [resulttype=void] [resulttypekind=Void] [isPOD=0] 9