1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
4; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12}
5!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12}
6
7!0 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
8!1 = !{null}
9!2 = !{null, !0}
10!3 = !{!0, !0, !0}
11
12
13; CHECK: !4 = !DISubroutineType(types: !1)
14; CHECK: !5 = !DISubroutineType(types: !2)
15; CHECK: !6 = !DISubroutineType(types: !3)
16; CHECK: !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
17!4 = !DISubroutineType(types: !1)
18!5 = !DISubroutineType(types: !2)
19!6 = !DISubroutineType(types: !3)
20!7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
21
22; CHECK: !8 = !DISubroutineType(types: null)
23!8 = !DISubroutineType(types: null)
24
25; CHECK: !9 = !DISubroutineType(cc: DW_CC_normal, types: null)
26; CHECK: !10 = !DISubroutineType(cc: DW_CC_BORLAND_msfastcall, types: null)
27; CHECK: !11 = !DISubroutineType(cc: DW_CC_BORLAND_stdcall, types: null)
28; CHECK: !12 = !DISubroutineType(cc: DW_CC_LLVM_vectorcall, types: null)
29!9 = !DISubroutineType(cc: DW_CC_normal, types: null)
30!10 = !DISubroutineType(cc: DW_CC_BORLAND_msfastcall, types: null)
31!11 = !DISubroutineType(cc: DW_CC_BORLAND_stdcall, types: null)
32!12 = !DISubroutineType(cc: DW_CC_LLVM_vectorcall, types: null)
33