1 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
3 ; CHECK: invalid template params
4 ; CHECK-NEXT: !2 = !DICompositeType(
5 ; CHECK-SAME: templateParams: !1
6 ; CHECK-NEXT: !1 = !DITemplateTypeParameter(
9 !0 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
10 !1 = !DITemplateTypeParameter(name: "T", type: !0)
11 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParams: !1)