summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Sema/c89.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Sema/c89.c b/clang/test/Sema/c89.c
index 831c1ce7c5d..301ec374db3 100644
--- a/clang/test/Sema/c89.c
+++ b/clang/test/Sema/c89.c
@@ -33,3 +33,9 @@ void test5(register);
/* PR2041 */
int *restrict;
int *__restrict; /* expected-error {{expected identifier}} */
+
+
+/* Implicit int, always ok */
+foo() {}
+
+
OpenPOWER on IntegriCloud