summaryrefslogtreecommitdiffstats
path: root/test/Sema/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/function.c')
-rw-r--r--test/Sema/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c
index 9a83519..b51c137 100644
--- a/test/Sema/function.c
+++ b/test/Sema/function.c
@@ -34,10 +34,10 @@ void t12(int) {} // expected-error{{parameter name omitted}}
// PR2790
void t13() {
- return 0; // expected-warning {{void function 't13' should not return a value}}
+ return 0; // expected-error {{void function 't13' should not return a value}}
}
int t14() {
- return; // expected-warning {{non-void function 't14' should return a value}}
+ return; // expected-error {{non-void function 't14' should return a value}}
}
// <rdar://problem/6097326>
OpenPOWER on IntegriCloud