summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/darwin-labels.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-10 19:33:04 +0000
committerChris Lattner <sabre@nondot.org>2005-11-10 19:33:04 +0000
commit79ae0d12bac5b3578b03c4ccbce87d2858d346f0 (patch)
tree85841220e3650cc28f6ccac93d8ae7f2aa3905ca /test/CodeGen/PowerPC/darwin-labels.ll
parentac8c83428886adcd6b6b2290252db87be184c71c (diff)
downloadllvm-79ae0d12bac5b3578b03c4ccbce87d2858d346f0.tar.gz
llvm-79ae0d12bac5b3578b03c4ccbce87d2858d346f0.tar.bz2
llvm-79ae0d12bac5b3578b03c4ccbce87d2858d346f0.tar.xz
Check that this compiles to a label with a space in it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/darwin-labels.ll')
-rw-r--r--test/CodeGen/PowerPC/darwin-labels.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/darwin-labels.ll b/test/CodeGen/PowerPC/darwin-labels.ll
new file mode 100644
index 0000000000..0c803d55f7
--- /dev/null
+++ b/test/CodeGen/PowerPC/darwin-labels.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc | grep 'foo bar":'
+
+target endian = big
+target pointersize = 32
+target triple = "powerpc-apple-darwin8.2.0"
+
+"foo bar" = global int 4
+