aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/conditional.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-09 20:43:19 +0000
committerChris Lattner <sabre@nondot.org>2010-01-09 20:43:19 +0000
commite030358cc06e1cbce3c2e00ca67c946f9164b2a8 (patch)
tree8a51ca98fa0b359fefb724103d5ca6d40c479c36 /test/Sema/conditional.c
parent7960ec30d794da5de6cd017c728e1151f7b101b9 (diff)
add a bunch of missing prototypes to tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/conditional.c')
-rw-r--r--test/Sema/conditional.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/conditional.c b/test/Sema/conditional.c
index e67580ace6..c3dbe1321b 100644
--- a/test/Sema/conditional.c
+++ b/test/Sema/conditional.c
@@ -3,6 +3,7 @@
const char* test1 = 1 ? "i" : 1 == 1 ? "v" : "r";
void _efree(void *ptr);
+void free(void *ptr);
int _php_stream_free1() {
return (1 ? free(0) : _efree(0)); // expected-error {{incompatible type returning 'void', expected 'int'}}