summaryrefslogtreecommitdiff
path: root/test/DebugInfo/global.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/global.ll')
-rw-r--r--test/DebugInfo/global.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/DebugInfo/global.ll b/test/DebugInfo/global.ll
index c515114fd5..3c97f0cb22 100644
--- a/test/DebugInfo/global.ll
+++ b/test/DebugInfo/global.ll
@@ -3,6 +3,9 @@
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
; RUN: llvm-dwarfdump %t | FileCheck %s
+; Also test that the null streamer doesn't crash with debug info.
+; RUN: %llc_dwarf -O0 -filetype=null < %s
+
; generated from the following source compiled to bitcode with clang -g -O1
; static int i;
; int main() {