Add testcase
[oota-llvm.git] / test / CFrontend / 2007-04-11-InlineAsmUnion.c
index e4ea69a39e914fc5381eb53950a19d60354f6439..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));