summaryrefslogtreecommitdiff
path: root/test/Assembler/2008-10-14-QuoteInName.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-14 23:51:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-14 23:51:43 +0000
commit76dea9547d6aadbabbcb597b5e1d3f4ec529d031 (patch)
tree6a8ce204c80c8edb24a469733b51b15a5e9ad8bc /test/Assembler/2008-10-14-QuoteInName.ll
parentcad3580e99ae045e138a1d57de589a01c1f9b296 (diff)
downloadllvm-76dea9547d6aadbabbcb597b5e1d3f4ec529d031.tar.gz
llvm-76dea9547d6aadbabbcb597b5e1d3f4ec529d031.tar.bz2
llvm-76dea9547d6aadbabbcb597b5e1d3f4ec529d031.tar.xz
Prevent assert when using '"' in names (via hexadecimal).
Update LangRef to mention \xx quoting in names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2008-10-14-QuoteInName.ll')
-rw-r--r--test/Assembler/2008-10-14-QuoteInName.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/2008-10-14-QuoteInName.ll b/test/Assembler/2008-10-14-QuoteInName.ll
new file mode 100644
index 0000000000..ccd77791ca
--- /dev/null
+++ b/test/Assembler/2008-10-14-QuoteInName.ll
@@ -0,0 +1,3 @@
+; RUN: llvm-as < %s | llvm-dis | grep "quote"
+
+@"a\22quote" = global i32 0