[Clang][AArch64] Remove const from base pointers in sve2p1 stores (#120551)
[llvm-project.git] / clang / test / Index / deletion.cpp
blobaa5e869a86288fc91b1764f23090e63ce09553d2
1 struct Foo {
2 int foo() = delete;
3 int bar();
4 Foo() = delete;
5 Foo(int);
6 };
9 // RUN: c-index-test -test-print-type --std=c++11 %s | FileCheck %s
10 // CHECK: StructDecl=Foo:1:8 (Definition) [type=Foo] [typekind=Record] [isPOD=1]
11 // CHECK: CXXMethod=foo:2:7 (unavailable) (deleted) [type=int (){{.*}}] [typekind=FunctionProto] [resulttype=int] [resulttypekind=Int] [isPOD=0]
12 // CHECK: CXXMethod=bar:3:7 [type=int (){{.*}}] [typekind=FunctionProto] [resulttype=int] [resulttypekind=Int] [isPOD=0]
13 // CHECK: CXXConstructor=Foo:4:3 (unavailable) (default constructor) (deleted) [type=void (){{.*}}] [typekind=FunctionProto] [resulttype=void] [resulttypekind=Void] [isPOD=0]
14 // CHECK: CXXConstructor=Foo:5:3 (converting constructor) [type=void (int){{.*}}] [typekind=FunctionProto] [resulttype=void] [resulttypekind=Void] [args= [int] [Int]] [isPOD=0]