brintos

brintos / llvm-project-archived public Read only

0
0
Text · 665 B · f80211e Raw
15 lines · plain
1// RUN: %clang_cc1 %s -ast-dump -ast-dump-filter S | FileCheck -strict-whitespace %s2 3struct S {};4 5void f() {6    S i;7    i = i;8}9 10// CHECK: CXXConstructorDecl {{.*}} implicit used constexpr S 'void (){{.*}} __generic noexcept'11// CHECK: CXXConstructorDecl {{.*}} implicit constexpr S 'void (const __generic S &){{.*}} __generic'12// CHECK: CXXConstructorDecl {{.*}} implicit constexpr S 'void (__generic S &&){{.*}} __generic'13// CHECK: CXXMethodDecl {{.*}} implicit used constexpr operator= '__generic S &(const __generic S &){{.*}} __generic noexcept'14// CHECK: CXXMethodDecl {{.*}} implicit constexpr operator= '__generic S &(__generic S &&){{.*}} __generic'15