diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-17 19:31:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-17 19:31:09 +0000 |
commit | 5280408ab323a213ac63d5b557475ea5037aa553 (patch) | |
tree | 85b66eb4b7235ee0a48a5b8788d28027e8c3cb4a /test/Parser/implicit-casts.c | |
parent | a9b20e57d407dfc8bd260e6228ba40f64439869c (diff) |
Fix PR2042. One remaining issue: we don't currently diagnose
int foobar(int);
int foobar() {}
which requires ifdef'ing out a testcase in predefined-function.c.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/implicit-casts.c')
-rw-r--r-- | test/Parser/implicit-casts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/implicit-casts.c b/test/Parser/implicit-casts.c index 1636f4993e..2e8e000182 100644 --- a/test/Parser/implicit-casts.c +++ b/test/Parser/implicit-casts.c @@ -14,7 +14,7 @@ void test2() { } int test3() { int a[2]; - a[0] = test3; // expected-warning{{incompatible pointer to integer conversion assigning 'int (void)', expected 'int'}} + a[0] = test3; // expected-warning{{incompatible pointer to integer conversion assigning 'int ()', expected 'int'}} } short x; void test4(char c) { x += c; } int y; void test5(char c) { y += c; } |