Add testcase
[oota-llvm.git] / test / CFrontend / 2002-07-30-SubregSetAssertion.c
index e00a3ce9452931920316b1d5bdab1fba38404116..6d4f9f62058166f57c5a447bc95c1ef14bf6c4a6 100644 (file)
@@ -1,10 +1,12 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 union X {
   void *B;
 };
 
 union X foo() {
-       union X A;
-       A.B = (void*)123;
-       return A;
+  union X A;
+  A.B = (void*)123;
+  return A;
 }