summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/attributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/attributes.c')
-rw-r--r--clang/test/Parser/attributes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Parser/attributes.c b/clang/test/Parser/attributes.c
index f619111208c..29e8c81f3b1 100644
--- a/clang/test/Parser/attributes.c
+++ b/clang/test/Parser/attributes.c
@@ -1,6 +1,6 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang -parse-ast-check %s
-static __inline void __attribute__((__always_inline__, __nodebug__))
+static __inline void __attribute__((__always_inline__, __nodebug__)) // expected-warning {{extension used}}
foo (void)
{
}
OpenPOWER on IntegriCloud