summaryrefslogtreecommitdiff
path: root/test/Bitcode/source-filename.test
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/Bitcode/source-filename.test
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
Diffstat (limited to 'test/Bitcode/source-filename.test')
-rw-r--r--test/Bitcode/source-filename.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Bitcode/source-filename.test b/test/Bitcode/source-filename.test
new file mode 100644
index 0000000000000..d12cd3bb30d4c
--- /dev/null
+++ b/test/Bitcode/source-filename.test
@@ -0,0 +1,2 @@
+; RUN: llvm-bcanalyzer -dump %p/Inputs/source-filename.bc | FileCheck %s
+; CHECK: <SOURCE_FILENAME {{.*}} record string = 'source-filename.c'