diff options
author | Mike Stump <mrs@apple.com> | 2009-07-22 00:43:08 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-22 00:43:08 +0000 |
commit | d1969d803cfcc65f1c334df4cc89c7fdd33ee4c9 (patch) | |
tree | 38190e8ec425fd224704ed136bc0dc26470f3af0 /test/Parser/implicit-casts.c | |
parent | cf1831204b2b575fc57b851172f0426559ae482c (diff) |
Prep for new warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76709 91177308-0d34-0410-b5e6-96231b3b80d8
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 e7d20980da..3e8f599047 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; } |