Fix testcase
authorChris Lattner <sabre@nondot.org>
Wed, 31 Jul 2002 17:54:24 +0000 (17:54 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Jul 2002 17:54:24 +0000 (17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3182 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-07-30-SubregSetAssertion.c

index 20314bfdfa7da10cc65a258e55f916f907732015..e00a3ce9452931920316b1d5bdab1fba38404116 100644 (file)
@@ -3,7 +3,8 @@ union X {
   void *B;
 };
 
-union X void foo() {
+union X foo() {
        union X A;
-       A.B = (void*)123
+       A.B = (void*)123;
+       return A;
 }