summaryrefslogtreecommitdiffstats
path: root/test/Sema/gnu89.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/gnu89.c')
-rw-r--r--test/Sema/gnu89.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/gnu89.c b/test/Sema/gnu89.c
index 189e6b0..1b7f10f 100644
--- a/test/Sema/gnu89.c
+++ b/test/Sema/gnu89.c
@@ -2,4 +2,4 @@
int f(int restrict);
-void main() {} // expected-warning {{return type of 'main' is not 'int'}}
+void main() {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}
OpenPOWER on IntegriCloud