IR: Give 'DI' prefix to debug info metadata
[oota-llvm.git] / test / Verifier / mdcompositetype-templateparams.ll
1 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3 ; CHECK:      invalid template parameter
4 ; CHECK-NEXT: !2 = !DICompositeType(
5 ; CHECK-SAME:                       templateParams: !1
6 ; CHECK-NEXT: !1 = !{!0}
7 ; CHECK-NEXT: !0 = !DIBasicType(
8
9 !named = !{!0, !1, !2}
10 !0 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
11 !1 = !{!0}
12 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParams: !1)