summaryrefslogtreecommitdiff
path: root/test/Analysis/stack-addr-ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/stack-addr-ps.c')
-rw-r--r--test/Analysis/stack-addr-ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/stack-addr-ps.c b/test/Analysis/stack-addr-ps.c
index 4026cee90b04f..721051ffaf11d 100644
--- a/test/Analysis/stack-addr-ps.c
+++ b/test/Analysis/stack-addr-ps.c
@@ -6,7 +6,7 @@ int* f1() {
}
int* f2(int y) {
- return &y; // expected-warning{{Address of stack memory associated with local variable 'y' returned}} expected-warning{{address of stack memory associated with local variable 'y' returned}}
+ return &y; // expected-warning{{Address of stack memory associated with local variable 'y' returned}} expected-warning{{address of stack memory associated with parameter 'y' returned}}
}
int* f3(int x, int *y) {