Fix date :)
[oota-llvm.git] / test / CFrontend / 2002-07-30-SubregSetAssertion.c
index 5316e74876b9d9ccb49749b6e0ace587a08c4247..6d4f9f62058166f57c5a447bc95c1ef14bf6c4a6 100644 (file)
@@ -1,13 +1,12 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 union X {
-  //char C;
-  //int A;
   void *B;
 };
 
-union X foo(union X A) {
-       //A.C = 123;
-       //A.A = 39249;
-       A.B = (void*)123040123321;
-       return A;
+union X foo() {
+  union X A;
+  A.B = (void*)123;
+  return A;
 }