From 79ae0d12bac5b3578b03c4ccbce87d2858d346f0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 10 Nov 2005 19:33:04 +0000 Subject: [PATCH] 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 --- test/CodeGen/PowerPC/darwin-labels.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/PowerPC/darwin-labels.ll diff --git a/test/CodeGen/PowerPC/darwin-labels.ll b/test/CodeGen/PowerPC/darwin-labels.ll new file mode 100644 index 00000000000..0c803d55f71 --- /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 +