summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/implicit-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/implicit-int.c')
-rw-r--r--clang/test/Sema/implicit-int.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Sema/implicit-int.c b/clang/test/Sema/implicit-int.c
index 04b27a8f0ea..9eab953b3fc 100644
--- a/clang/test/Sema/implicit-int.c
+++ b/clang/test/Sema/implicit-int.c
@@ -1,6 +1,7 @@
// RUN: clang-cc -fsyntax-only %s -verify -pedantic
foo() { // expected-warning {{type specifier missing, defaults to 'int'}}
+ return 0;
}
y; // expected-warning {{type specifier missing, defaults to 'int'}}
OpenPOWER on IntegriCloud