diff options
Diffstat (limited to 'test/CodeGen/X86/2009-01-27-NullStrings.ll')
-rw-r--r-- | test/CodeGen/X86/2009-01-27-NullStrings.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-01-27-NullStrings.ll b/test/CodeGen/X86/2009-01-27-NullStrings.ll new file mode 100644 index 0000000..8684f4a --- /dev/null +++ b/test/CodeGen/X86/2009-01-27-NullStrings.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s -mtriple=i686-apple-darwin | FileCheck %s +; CHECK: .section __TEXT,__cstring,cstring_literals + +@x = internal constant [1 x i8] zeroinitializer ; <[1 x i8]*> [#uses=1] + +@y = global [1 x i8]* @x + |