diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-10-02 00:54:48 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-10-02 00:54:48 +0000 |
commit | 6a835dddf45922e71a87637fdfac0863de65123c (patch) | |
tree | 15acf1e56340286502524fc396cfb1f82b8d53a5 /test/Analysis/stack-addr-ps.cpp | |
parent | 2b014d6c0c6b8ac94b416ac37dfc7931f20777a7 (diff) |
Fix LiveVariables analysis bug with MaterializeTemporaryExpr and fix handling in ExprEngine. Fixes <rdar://problem/10201666>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/stack-addr-ps.cpp')
-rw-r--r-- | test/Analysis/stack-addr-ps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/stack-addr-ps.cpp b/test/Analysis/stack-addr-ps.cpp index d6140002fd..b09e435608 100644 --- a/test/Analysis/stack-addr-ps.cpp +++ b/test/Analysis/stack-addr-ps.cpp @@ -50,7 +50,7 @@ int *f2() { int *f3() { int x1; int *const &x2 = &x1; // expected-note {{binding reference variable 'x2' here}} - return x2; // expected-warning {{address of stack memory associated with local variable 'x1' returned}} + return x2; // expected-warning {{address of stack memory associated with local variable 'x1' returned}} expected-warning {{Address of stack memory associated with local variable 'x1' returned to caller}} } const int *f4() { |