summaryrefslogtreecommitdiff
path: root/test/Assembler/source-filename-backslash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/source-filename-backslash.ll')
-rw-r--r--test/Assembler/source-filename-backslash.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/source-filename-backslash.ll b/test/Assembler/source-filename-backslash.ll
new file mode 100644
index 0000000000000..8669401cf93df
--- /dev/null
+++ b/test/Assembler/source-filename-backslash.ll
@@ -0,0 +1,8 @@
+
+; Make sure that llvm-as/llvm-dis properly assemble/disassemble the
+; source_filename.
+
+; RUN: llvm-as < %s | llvm-dis | FileCheck %s
+
+; CHECK: source_filename = "C:\5Cpath\5Cwith\5Cbackslashes\5Ctest.cc"
+source_filename = "C:\5Cpath\5Cwith\5Cbackslashes\5Ctest.cc"