brintos

brintos / llvm-project-archived public Read only

0
0
Text · 497 B · 11e037e Raw
19 lines · cpp
1// Without serialization:2// RUN: %clang_cc1 -ast-print %s | FileCheck %s3//4// With serialization:5// RUN: %clang_cc1 -emit-pch -o %t %s6// RUN: %clang_cc1 -x c++ -include-pch %t -ast-print  /dev/null | FileCheck %s7 8// CHECK: struct S {9struct S {10  // CHECK-NEXT: void a() = delete("foo");11  void a() = delete("foo");12 13  // CHECK-NEXT: template <typename T> T b() = delete("bar");14  template <typename T> T b() = delete("bar");15};16 17// CHECK: void c() = delete("baz");18void c() = delete("baz");19