summaryrefslogtreecommitdiffstats
path: root/test/PCH/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/functions.c')
-rw-r--r--test/PCH/functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/PCH/functions.c b/test/PCH/functions.c
index eb8579a..23becb6 100644
--- a/test/PCH/functions.c
+++ b/test/PCH/functions.c
@@ -6,7 +6,7 @@
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
int f0(int x0, int y0, ...) { return x0 + y0; }
-
+// expected-note{{passing argument to parameter here}}
float *test_f1(int val, double x, double y) {
if (val > 5)
return f1(x, y);
@@ -15,7 +15,7 @@ float *test_f1(int val, double x, double y) {
}
void test_g0(int *x, float * y) {
- g0(y); // expected-warning{{incompatible pointer types passing 'float *', expected 'int *'}}
+ g0(y); // expected-warning{{incompatible pointer types passing 'float *' to parameter of type 'int *'}}
g0(x);
}
OpenPOWER on IntegriCloud