12 lines · plain
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s2 3; CHECK: invalid template params4; CHECK-NEXT: !2 = !DICompositeType(5; CHECK-SAME: templateParams: !16; CHECK-NEXT: !1 = !DITemplateTypeParameter(7 8!named = !{!0, !1, !2}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)12