[cfe-commits] r56707 - /cfe/trunk/test/Analysis/dead-stores.c
Ted Kremenek
kremenek at apple.com
Fri Sep 26 16:05:47 PDT 2008
Author: kremenek
Date: Fri Sep 26 18:05:47 2008
New Revision: 56707
URL: http://llvm.org/viewvc/llvm-project?rev=56707&view=rev
Log:
Add more control-flow to test case.
Modified:
cfe/trunk/test/Analysis/dead-stores.c
Modified: cfe/trunk/test/Analysis/dead-stores.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/dead-stores.c?rev=56707&r1=56706&r2=56707&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/dead-stores.c (original)
+++ cfe/trunk/test/Analysis/dead-stores.c Fri Sep 26 18:05:47 2008
@@ -116,7 +116,8 @@
int f16(int x) {
x = x * 2;
- x = sizeof(int [x = (x || x + 1) * 2]); // expected-warning{{Although the value stored to 'x' is used}}
+ x = sizeof(int [x = (x || x + 1) * 2]) // expected-warning{{Although the value stored to 'x' is used}}
+ ? 5 : 8;
return x;
}
More information about the cfe-commits
mailing list