diff options
Diffstat (limited to 'test/Parser/implicit-casts.c')
-rw-r--r-- | test/Parser/implicit-casts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/implicit-casts.c b/test/Parser/implicit-casts.c index a07155eea4..3d055263bc 100644 --- a/test/Parser/implicit-casts.c +++ b/test/Parser/implicit-casts.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang -fsyntax-only -verify -pedantic %s _Complex double X; void test1(int c) { X = 5; @@ -14,7 +14,7 @@ void test2() { } int test3() { int a[2]; - a[0] = test3; // expected-warning{{incompatible types assigning 'int (void)' to 'int'}} + a[0] = test3; // expected-warning{{incompatible pointer/int conversion assigning 'int (void)', expected 'int'}} } short x; void test4(char c) { x += c; } int y; void test5(char c) { y += c; } |