summaryrefslogtreecommitdiffstats
path: root/llvm/test/Verifier/dbg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Verifier/dbg.ll')
-rw-r--r--llvm/test/Verifier/dbg.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Verifier/dbg.ll b/llvm/test/Verifier/dbg.ll
index 395806b1299..d5728a4e827 100644
--- a/llvm/test/Verifier/dbg.ll
+++ b/llvm/test/Verifier/dbg.ll
@@ -2,7 +2,7 @@
define void @foo() {
entry:
- br label %exit, !dbg !DILocation(scope: !DISubprogram(), inlinedAt: !{})
+ br label %exit, !dbg !DILocation(scope: !1, inlinedAt: !{})
; CHECK: inlined-at should be a location
; CHECK-NEXT: !{{[0-9]+}} = !DILocation(line: 0, scope: !{{[0-9]+}}, inlinedAt: ![[IA:[0-9]+]])
; CHECK-NEXT: ![[IA]] = !{}
@@ -16,3 +16,4 @@ exit:
!llvm.module.flags = !{!0}
!0 = !{i32 2, !"Debug Info Version", i32 3}
+!1 = distinct !DISubprogram()
OpenPOWER on IntegriCloud