projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't mangle \n and "
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
newline-and-quote.ll
diff --git a/test/CodeGen/X86/newline-and-quote.ll
b/test/CodeGen/X86/newline-and-quote.ll
new file mode 100644
(file)
index 0000000..
9206e9f
--- /dev/null
+++ b/
test/CodeGen/X86/newline-and-quote.ll
@@ -0,0
+1,6
@@
+; RUN: llc < %s -mtriple=x86_64-pc-linux-gnu | FileCheck %s
+@"foo\22bar" = global i32 42
+; CHECK: .globl "foo\"bar"
+
+@"foo\0abar" = global i32 42
+; CHECK: .globl "foo\nbar"