new testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35931 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CFrontend/2007-04-11-InlineAsmStruct.c b/test/CFrontend/2007-04-11-InlineAsmStruct.c
new file mode 100644
index 0000000..8f7bc83
--- /dev/null
+++ b/test/CFrontend/2007-04-11-InlineAsmStruct.c
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc %s -S -emit-llvm -o - | grep 'call i32 asm'
+
+struct V { short X, Y; };
+int bar() {
+ struct V bar;
+ __asm__ volatile("foo %0\n" : "=r"(bar));
+ return bar.X;
+}
+
diff --git a/test/CFrontend/2007-04-11-InlineAsmUnion.c b/test/CFrontend/2007-04-11-InlineAsmUnion.c
index 28ffe73..e4ea69a 100644
--- a/test/CFrontend/2007-04-11-InlineAsmUnion.c
+++ b/test/CFrontend/2007-04-11-InlineAsmUnion.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -emit-llvm -o - | grep 'call void asm'
+// RUN: %llvmgcc %s -S -emit-llvm -o - | grep 'call i32 asm'
union U { int x; char* p; };
void foo() {