From d2025e26738c3017af6685e342a3a746cdf8249f Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 26 Sep 2008 23:05:47 +0000 Subject: [PATCH] Add more control-flow to test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56707 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/dead-stores.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c index 7335df5118..2a67afd0b0 100644 --- a/test/Analysis/dead-stores.c +++ b/test/Analysis/dead-stores.c @@ -116,7 +116,8 @@ void f15(unsigned x, unsigned y) { 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; } -- 2.50.1