aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2002-07-31-SlashInString.llx
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2002-07-31-SlashInString.llx')
-rw-r--r--test/Assembler/2002-07-31-SlashInString.llx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2002-07-31-SlashInString.llx b/test/Assembler/2002-07-31-SlashInString.llx
new file mode 100644
index 0000000..9fae11a
--- /dev/null
+++ b/test/Assembler/2002-07-31-SlashInString.llx
@@ -0,0 +1,5 @@
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as
+
+; Make sure that \\ works in a string initializer
+%Slashtest = internal global [8 x sbyte] c"\5Cbegin{\00"
+