summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-compilation-dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/debug-info-compilation-dir.c')
-rw-r--r--clang/test/CodeGen/debug-info-compilation-dir.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-compilation-dir.c b/clang/test/CodeGen/debug-info-compilation-dir.c
new file mode 100644
index 0000000..4b47299
--- /dev/null
+++ b/clang/test/CodeGen/debug-info-compilation-dir.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -g %s -o - | FileCheck -check-prefix=CHECK-NONSENSE %s
+// CHECK-NONSENSE: nonsense
+
+// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck -check-prefix=CHECK-DIR %s
+// CHECK-DIR: CodeGen
+