1; RUN: opt -S -lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/use-typeid1-typeid2.yaml -lowertypetests-write-summary=%t < %s | FileCheck %s 2; RUN: FileCheck --check-prefix=SUMMARY %s < %t 3 4@foo = constant i32 42, !type !0 5 6!0 = !{i32 0, !"typeid1"} 7 8; CHECK: [[G:@[0-9]+]] = private constant { i32 } { i32 42 } 9 10; CHECK: @__typeid_typeid1_global_addr = hidden alias i8, bitcast ({ i32 }* [[G]] to i8*) 11; CHECK: @foo = alias i32, getelementptr inbounds ({ i32 }, { i32 }* [[G]], i32 0, i32 0) 12 13; SUMMARY: TypeIdMap: 14; SUMMARY-NEXT: typeid1: 15; SUMMARY-NEXT: TTRes: 16; SUMMARY-NEXT: Kind: Single 17; SUMMARY-NEXT: SizeM1BitWidth: 0 18