[cfe-commits] r53966 - /cfe/trunk/test/Analysis/dead-stores.c
Ted Kremenek
kremenek at apple.com
Wed Jul 23 16:18:44 PDT 2008
Author: kremenek
Date: Wed Jul 23 18:18:43 2008
New Revision: 53966
URL: http://llvm.org/viewvc/llvm-project?rev=53966&view=rev
Log:
Added dead stores 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=53966&r1=53965&r2=53966&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/dead-stores.c (original)
+++ cfe/trunk/test/Analysis/dead-stores.c Wed Jul 23 18:18:43 2008
@@ -72,4 +72,10 @@
return 1;
}
+int f11() {
+ int x = 4;
+ return ++x; // no-warning
+}
+
+
More information about the cfe-commits
mailing list