diff options
Diffstat (limited to 'test/SemaCXX/ast-print.cpp')
-rw-r--r-- | test/SemaCXX/ast-print.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/test/SemaCXX/ast-print.cpp b/test/SemaCXX/ast-print.cpp index 3d98fd8ef3..977ba7afa4 100644 --- a/test/SemaCXX/ast-print.cpp +++ b/test/SemaCXX/ast-print.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -ast-print %s -std=gnu++11 | FileCheck %s +// RUN: %clang_cc1 -ast-print %s | FileCheck %s // CHECK: r; // CHECK-NEXT: (r->method()); @@ -173,26 +173,3 @@ void test14() { float test15() { return __builtin_asinf(1.0F); } - -namespace PR18776 { -struct A { - operator void *(); - explicit operator bool(); - A operator&(A); -}; - -// CHECK: struct A -// CHECK-NEXT: {{^[ ]*operator}} void *(); -// CHECK-NEXT: {{^[ ]*explicit}} operator bool(); - -void bar(void *); - -void foo() { - A a, b; - bar(a & b); -// CHECK: bar(a & b); - if (a & b) -// CHECK: if (a & b) - return; -} -}; |