commit | 03af377b2755fb2ddb0621dea5dd91cd5fda631d | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Fri Mar 22 21:15:26 2013 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Fri Mar 22 21:15:26 2013 +0000 |
tree | 5318a91e468a99157ee7297fe34aa4175fc3120f | |
parent | 1aa4f5019164592643bf46b7d61f15b6ef509c8e [diff] |
[analyzer] Fix test to actually test what was intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177763 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/inlining/false-positive-suppression.cpp b/test/Analysis/inlining/false-positive-suppression.cpp index 02782c3..bff6907 100644 --- a/test/Analysis/inlining/false-positive-suppression.cpp +++ b/test/Analysis/inlining/false-positive-suppression.cpp
@@ -84,8 +84,8 @@ *box = 1; // no-warning int *&box2 = m.getValue(i); - box = 0; - *box = 1; // expected-warning {{Dereference of null pointer}} + box2 = 0; + *box2 = 1; // expected-warning {{Dereference of null pointer}} } SomeClass *&getSomeClass() {