mdcompositetype-templateparams-tuple.ll 494 B

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