summaryrefslogtreecommitdiff
path: root/test/Assembler/source-filename-backslash.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
commit01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch)
tree4def12e759965de927d963ac65840d663ef9d1ea /test/Assembler/source-filename-backslash.ll
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
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"