aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/gnu89.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/gnu89.c')
-rw-r--r--test/Sema/gnu89.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/gnu89.c b/test/Sema/gnu89.c
new file mode 100644
index 000000000000..4601cbe93f6e
--- /dev/null
+++ b/test/Sema/gnu89.c
@@ -0,0 +1,3 @@
+// RUN: clang-cc %s -std=gnu89 -pedantic -fsyntax-only -verify
+
+int f(int restrict);