diff options
Diffstat (limited to 'test/Sema/gnu89.c')
-rw-r--r-- | test/Sema/gnu89.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/gnu89.c b/test/Sema/gnu89.c index fc21dcd5cd45..189e6b0097a9 100644 --- a/test/Sema/gnu89.c +++ b/test/Sema/gnu89.c @@ -1,3 +1,5 @@ // RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify int f(int restrict); + +void main() {} // expected-warning {{return type of 'main' is not 'int'}} |