New testcase for PR1744
[oota-llvm.git] / test / CFrontend / 2007-04-11-InlineAsmUnion.c
index 62e4b5c41c205566f14e096e0236369b2442b84e..0435d6498ee5e0f9643919b30fc084880924583f 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %llvmgcc %s -S -emit-llvm -o - | grep {call i32 asm}
+// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
 
-union U { int x; char* p; };
+union U { int x; float p; };
 void foo() {
   union U bar;
   __asm__ volatile("foo %0\n" : "=r"(bar));