summaryrefslogtreecommitdiffstats
path: root/test/Sema/function-redecl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/function-redecl.c')
-rw-r--r--test/Sema/function-redecl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/function-redecl.c b/test/Sema/function-redecl.c
index b8a64af..633ad21 100644
--- a/test/Sema/function-redecl.c
+++ b/test/Sema/function-redecl.c
@@ -120,7 +120,7 @@ extern __typeof (i1) i1;
typedef int a();
typedef int a2(int*);
a x;
-a2 x2;
+a2 x2; // expected-note{{passing argument to parameter here}}
void test_x() {
x(5);
x2(5); // expected-warning{{incompatible integer to pointer conversion passing 'int' to parameter of type 'int *'}}
OpenPOWER on IntegriCloud