summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/split-debug-filename.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-25 18:19:32 +0000
committerEric Christopher <echristo@gmail.com>2013-02-25 18:19:32 +0000
commitdf779d356a298732bedd6f6fbe01b8f4b1a6948e (patch)
tree21f47b5c9b2842d08a3b5133a7f84af402a22639 /test/CodeGen/split-debug-filename.c
parent9c3e71acb53a67f305a54f3d6d6decb143acaae4 (diff)
Add forgotten testcase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/split-debug-filename.c')
-rw-r--r--test/CodeGen/split-debug-filename.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/split-debug-filename.c b/test/CodeGen/split-debug-filename.c
new file mode 100644
index 0000000000..63970a83df
--- /dev/null
+++ b/test/CodeGen/split-debug-filename.c
@@ -0,0 +1,7 @@
+// RUN: %clang -target x86_64-linux-gnu -gsplit-dwarf -S -emit-llvm -o - %s | FileCheck %s
+int main (void) {
+ return 0;
+}
+
+// Testing to ensure that the dwo name gets output into the compile unit.
+// CHECK: split-debug-filename.dwo