summaryrefslogtreecommitdiffstats
path: root/test/Parser/implicit-casts.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/implicit-casts.c')
-rw-r--r--test/Parser/implicit-casts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/implicit-casts.c b/test/Parser/implicit-casts.c
index 900b4ec..a2b31f9 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 ()', expected 'int'}}
+ a[0] = test3; // expected-warning{{incompatible pointer to integer conversion assigning to 'int' from 'int ()'}}
return 0;
}
short x; void test4(char c) { x += c; }
OpenPOWER on IntegriCloud