summaryrefslogtreecommitdiff
path: root/test/Sema/incompatible-sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/incompatible-sign.c')
-rw-r--r--test/Sema/incompatible-sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/incompatible-sign.c b/test/Sema/incompatible-sign.c
index a1592efc4c47d..6249feb6b1e71 100644
--- a/test/Sema/incompatible-sign.c
+++ b/test/Sema/incompatible-sign.c
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 %s -verify -fsyntax-only
-int a(int* x);
-int b(unsigned* y) { return a(y); } // expected-warning {{pointer types point to integer types with different sign}}
+int a(int* x); // expected-note{{passing argument to parameter 'x' here}}
+int b(unsigned* y) { return a(y); } // expected-warning {{passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign}}