2015-04-06 17:04:58 +00:00
|
|
|
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK: invalid template parameter
|
2015-04-29 16:38:44 +00:00
|
|
|
; CHECK-NEXT: !2 = !DICompositeType(
|
2015-04-06 17:04:58 +00:00
|
|
|
; CHECK-SAME: templateParams: !1
|
|
|
|
; CHECK-NEXT: !1 = !{!0}
|
2015-04-29 16:38:44 +00:00
|
|
|
; CHECK-NEXT: !0 = !DIBasicType(
|
2015-04-06 17:04:58 +00:00
|
|
|
|
|
|
|
!named = !{!0, !1, !2}
|
2015-04-29 16:38:44 +00:00
|
|
|
!0 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
|
2015-04-06 17:04:58 +00:00
|
|
|
!1 = !{!0}
|
2015-04-29 16:38:44 +00:00
|
|
|
!2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParams: !1)
|