diff options
Diffstat (limited to 'test/Parser/pointer_promotion.c')
-rw-r--r-- | test/Parser/pointer_promotion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/pointer_promotion.c b/test/Parser/pointer_promotion.c index 30589d01326fa..8b718ad565ceb 100644 --- a/test/Parser/pointer_promotion.c +++ b/test/Parser/pointer_promotion.c @@ -12,6 +12,6 @@ void test() { if (cp < fp) {} // expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}} if (fp < bp) {} // expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}} if (ip < 7) {} // expected-warning {{comparison between pointer and integer ('int *' and 'int')}} - if (sint < ip) {} // expected-warning {{comparison between pointer and integer ('int' and 'int *')}} + if (sint < ip) {} // expected-warning {{comparison between pointer and integer ('short' and 'int *')}} if (ip == cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}} } |