aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/conditional.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/conditional.c')
-rw-r--r--test/Sema/conditional.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/Sema/conditional.c b/test/Sema/conditional.c
index 1c7486a6133e..9f48c349c964 100644
--- a/test/Sema/conditional.c
+++ b/test/Sema/conditional.c
@@ -4,12 +4,10 @@ const char* test1 = 1 ? "i" : 1 == 1 ? "v" : "r";
void _efree(void *ptr);
-int _php_stream_free1()
-{
- return (1 ? free(0) : _efree(0)); // expected-error {{incompatible type returning 'void', expected 'int'}}
+int _php_stream_free1() {
+ return (1 ? free(0) : _efree(0)); // expected-error {{incompatible type returning 'void', expected 'int'}}
}
-int _php_stream_free2()
-{
- return (1 ? _efree(0) : free(0)); // expected-error {{incompatible type returning 'void', expected 'int'}}
+int _php_stream_free2() {
+ return (1 ? _efree(0) : free(0)); // expected-error {{incompatible type returning 'void', expected 'int'}}
}