Home | History | Annotate | Download | only in Index
      1 struct RefQualifierTest {
      2   void f() & {};
      3   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