New testcase, distilled from ed-0.2
[oota-llvm.git] / 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;
 }