diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 |
commit | 4c8b24812ddcd1dedaca343a6d4e76f91f398981 (patch) | |
tree | 137ebebcae16fb0ce7ab4af456992bbd8d22fced /test/Parser/implicit-casts.c | |
parent | 5362a71c02e7d448a8ce98cf00c47e353fba5d04 (diff) |
Notes
Diffstat (limited to 'test/Parser/implicit-casts.c')
-rw-r--r-- | test/Parser/implicit-casts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Parser/implicit-casts.c b/test/Parser/implicit-casts.c index e7d20980da475..3e8f599047c45 100644 --- a/test/Parser/implicit-casts.c +++ b/test/Parser/implicit-casts.c @@ -15,6 +15,7 @@ void test2() { int test3() { int a[2]; a[0] = test3; // expected-warning{{incompatible pointer to integer conversion assigning 'int ()', expected 'int'}} + return 0; } short x; void test4(char c) { x += c; } int y; void test5(char c) { y += c; } |