From: Chris Lattner Date: Sat, 25 Aug 2007 21:57:08 +0000 (+0000) Subject: new testcase X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c62c1d6282ca62200c3887a6837e4eedda53a0f;p=clang new testcase git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41406 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/compound.c b/test/CodeGen/compound.c index e3fae127fd..778a5ce968 100644 --- a/test/CodeGen/compound.c +++ b/test/CodeGen/compound.c @@ -3,7 +3,7 @@ int A; long long B; int C; int *P; -void foo() { +void test1() { C = (A /= B); P -= 4; @@ -11,4 +11,6 @@ void foo() { C = P - (P+10); } +short x; +void test2(char c) { x += c; }