summaryrefslogtreecommitdiff
path: root/test/Bitcode
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bitcode')
-rw-r--r--test/Bitcode/dicompileunit-gnu-pubnames.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Bitcode/dicompileunit-gnu-pubnames.ll b/test/Bitcode/dicompileunit-gnu-pubnames.ll
new file mode 100644
index 00000000000..31c28501647
--- /dev/null
+++ b/test/Bitcode/dicompileunit-gnu-pubnames.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as -disable-verify -o - %s | llvm-dis | FileCheck %s
+
+!named = !{!0}
+; CHECK: !DICompileUnit({{.*}}, gnuPubnames: true)
+!0 = distinct !DICompileUnit(language: 12, file: !1, gnuPubnames: true)
+!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")