commit | 3603d736a71971d38d280f470589d5bed8b244bc | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Apr 21 23:45:26 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Apr 21 23:45:26 2008 +0000 |
tree | 2c2f5f83db4ffc06fefd3f2cb71f850a7efa35b3 | |
parent | b9ab690786f0edfe32798bbf4338cab23e08bc6e [diff] [blame] |
Added missing expected-warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50073 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/null-deref-ps.c b/test/Analysis/null-deref-ps.c index 4ce4f8b..214ccdd 100644 --- a/test/Analysis/null-deref-ps.c +++ b/test/Analysis/null-deref-ps.c
@@ -14,5 +14,5 @@ if (p) p->x = 1; - return p->x++; + return p->x++; // expected-warning{{Dereference of null pointer.}} }