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