summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-nvptx.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/debug-nvptx.c')
-rw-r--r--clang/test/CodeGen/debug-nvptx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-nvptx.c b/clang/test/CodeGen/debug-nvptx.c
new file mode 100644
index 00000000000..ceff3008296
--- /dev/null
+++ b/clang/test/CodeGen/debug-nvptx.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -triple nvptx-unknown-unknown -S -o - -debug-info-kind=limited %s -emit-llvm | FileCheck %s
+
+// CHECK: DICompileUnit({{.*}}, nameTableKind: None)
+
+void f1(void) {
+}
OpenPOWER on IntegriCloud