Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / print-type-cxx11.cpp
blob1f7522f0a12009c299256400e86812d1c5aedd79
1 struct RefQualifierTest {
2 void f() & {};
3 void f() && {};
4 };
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]