Add testcase
[oota-llvm.git] / test / CFrontend / 2007-04-11-InlineAsmUnion.c
index 28ffe73feca0b467543501b3136425f278fc18af..0435d6498ee5e0f9643919b30fc084880924583f 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %llvmgcc %s -S -emit-llvm -o - | grep 'call void 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));