[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git] / clang / test / AST / ast-print-cxx2c-delete-with-message.cpp
blob11e037e4d7443ec7abfc183e91539a05482f618c
1 // Without serialization:
2 // RUN: %clang_cc1 -ast-print %s | FileCheck %s
3 //
4 // With serialization:
5 // RUN: %clang_cc1 -emit-pch -o %t %s
6 // RUN: %clang_cc1 -x c++ -include-pch %t -ast-print /dev/null | FileCheck %s
8 // CHECK: struct S {
9 struct S {
10 // CHECK-NEXT: void a() = delete("foo");
11 void a() = delete("foo");
13 // CHECK-NEXT: template <typename T> T b() = delete("bar");
14 template <typename T> T b() = delete("bar");
17 // CHECK: void c() = delete("baz");
18 void c() = delete("baz");