summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/ast-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/ast-print.c')
-rw-r--r--clang/test/Sema/ast-print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Sema/ast-print.c b/clang/test/Sema/ast-print.c
index 86166dbd99c..92b317e00b0 100644
--- a/clang/test/Sema/ast-print.c
+++ b/clang/test/Sema/ast-print.c
@@ -83,8 +83,7 @@ enum EnumWithAttributes { // expected-warning {{'EnumWithAttributes' is deprecat
EnumWithAttributesFoo __attribute__((deprecated)),
// CHECK-NEXT: EnumWithAttributesBar __attribute__((unavailable(""))) = 50
EnumWithAttributesBar __attribute__((unavailable)) = 50
- // CHECK-NEXT: };
- // CHECK-NEXT: enum EnumWithAttributes *EnumWithAttributesPtr;
+ // CHECK-NEXT: } *EnumWithAttributesPtr;
} __attribute__((deprecated)) *EnumWithAttributesPtr; // expected-note {{'EnumWithAttributes' has been explicitly marked deprecated here}}
// FIXME: If enum is forward-declared at file scope, attributes are lost.
OpenPOWER on IntegriCloud