new testcase for PR630
authorChris Lattner <sabre@nondot.org>
Sat, 24 Sep 2005 08:38:28 +0000 (08:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 24 Sep 2005 08:38:28 +0000 (08:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23422 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2005-09-24-AsmUserPrefix.c [new file with mode: 0644]

diff --git a/test/CFrontend/2005-09-24-AsmUserPrefix.c b/test/CFrontend/2005-09-24-AsmUserPrefix.c
new file mode 100644 (file)
index 0000000..06600fa
--- /dev/null
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc %s -S -o - | gccas &&
+// RUN: %llvmgcc %s -S -o - | gccas | llc &&
+// RUN: %llvmgcc %s -S -o - | gccas | llc | not grep _foo2
+
+void foo() __asm__("foo2");
+
+void bar() {
+  foo();
+}