aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-24 05:01:39 +0000
committerChris Lattner <sabre@nondot.org>2006-01-24 05:01:39 +0000
commit169548350596111a5d44b988b0f33b435664e5b9 (patch)
tree8ad363bf9463eb1e3297936a4ce059db6d2cd391
parent6da23db69f50bb5282520be768f8612a3c407ff3 (diff)
new c front-end testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25579 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2006-01-23-FileScopeAsm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CFrontend/2006-01-23-FileScopeAsm.c b/test/CFrontend/2006-01-23-FileScopeAsm.c
new file mode 100644
index 0000000000..69a28584da
--- /dev/null
+++ b/test/CFrontend/2006-01-23-FileScopeAsm.c
@@ -0,0 +1,8 @@
+// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep foo[12345] | wc -l | grep 5
+// XFAIL: *
+
+__asm__ ("foo1");
+__asm__ ("foo2");
+__asm__ ("foo3");
+__asm__ ("foo4");
+__asm__ ("foo5");