[cfe-commits] r58481 - /cfe/trunk/test/Analysis/stack-addr-ps.c
Ted Kremenek
kremenek at apple.com
Thu Oct 30 17:20:13 PDT 2008
Author: kremenek
Date: Thu Oct 30 19:20:13 2008
New Revision: 58481
URL: http://llvm.org/viewvc/llvm-project?rev=58481&view=rev
Log:
Added missing 'expected-warning'
Modified:
cfe/trunk/test/Analysis/stack-addr-ps.c
Modified: cfe/trunk/test/Analysis/stack-addr-ps.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/stack-addr-ps.c?rev=58481&r1=58480&r2=58481&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/stack-addr-ps.c (original)
+++ cfe/trunk/test/Analysis/stack-addr-ps.c Thu Oct 30 19:20:13 2008
@@ -30,6 +30,6 @@
void* p = &((struct s){ 42, 0.4, x ? 42 : 0 });
- return p;
+ return p; // expected-warning{{Address of stack memory}}
}
More information about the cfe-commits
mailing list