summaryrefslogtreecommitdiff
path: root/test/Parser/attributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/attributes.c')
-rw-r--r--test/Parser/attributes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/attributes.c b/test/Parser/attributes.c
new file mode 100644
index 0000000000..29e8c81f3b
--- /dev/null
+++ b/test/Parser/attributes.c
@@ -0,0 +1,6 @@
+// RUN: clang -parse-ast-check %s
+
+static __inline void __attribute__((__always_inline__, __nodebug__)) // expected-warning {{extension used}}
+foo (void)
+{
+}