]> granicus.if.org Git - clang/commitdiff
new testcase
authorChris Lattner <sabre@nondot.org>
Sat, 25 Aug 2007 21:57:08 +0000 (21:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Aug 2007 21:57:08 +0000 (21:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41406 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/compound.c

index e3fae127fdeee7f6283774c0b6f99b39b62a22a8..778a5ce96817d25f267fbe7317b8cda3a34adc5a 100644 (file)
@@ -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; }