; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s
-define void @foo() !dbg !4 {
+define void @foo() !dbg !4 !dbg !4 {
unreachable
}
!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, subprograms: !3)
!2 = !DIFile(filename: "t.c", directory: "/path/to/dir")
!3 = !{!4}
-!4 = distinct !DISubprogram(name: "foo", scope: !1, file: !2, function: void ()* @foo)
+!4 = distinct !DISubprogram(name: "foo", scope: !1, file: !2)
!6 = !{}