aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/c89.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/c89.c')
-rw-r--r--test/Sema/c89.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/c89.c b/test/Sema/c89.c
index e7585c31926c..fc50ebed6631 100644
--- a/test/Sema/c89.c
+++ b/test/Sema/c89.c
@@ -25,7 +25,7 @@ void test3(int i) {
int A[i]; /* expected-warning {{variable length array}} */
}
-int test4 = 0LL; /* expected-warning {{long long}} */
+int test4 = 0LL; /* expected-warning {{long long}} */
/* PR1999 */
void test5(register);
@@ -36,7 +36,7 @@ int *__restrict; /* expected-error {{expected identifier}} */
/* Implicit int, always ok */
-test6() {}
+test6() { return 0; }
/* PR2012 */
test7; /* expected-warning {{declaration specifier missing, defaulting to 'int'}} */