commit | beb62c5836450dcdda53dca85399273acdf7104d | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Oct 31 00:20:13 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Oct 31 00:20:13 2008 +0000 |
tree | bc3b74e13777cb316d6fdd288a68cde02e9882b8 | |
parent | fab6f220cdbcd7269d8f6e19988774efe0a49983 [diff] |
Added missing 'expected-warning' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58481 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/stack-addr-ps.c b/test/Analysis/stack-addr-ps.c index a95cb6b..bc046cd 100644 --- a/test/Analysis/stack-addr-ps.c +++ b/test/Analysis/stack-addr-ps.c
@@ -30,6 +30,6 @@ void* p = &((struct s){ 42, 0.4, x ? 42 : 0 }); - return p; + return p; // expected-warning{{Address of stack memory}} }