We should check that existing cast operation has the appropriate opcode before we...
[oota-llvm.git] / test / CFrontend / 2002-05-23-StaticValues.c
index 821dbbb73dfc971a84d1585df492633c57c9ae79..bf583e203d35c79d03cef2e05356d7701ba9bb62 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Make sure the frontend is correctly marking static stuff as internal! */
 
 int X;
@@ -8,6 +10,6 @@ static void foo(int Z) {
 }
 
 void *test() {
-       foo(12);
-       return &Y;
+  foo(12);
+  return &Y;
 }