1; RUN: opt -S -passes=lowertypetests %s | FileCheck %s 2 3target datalayout = "e-p:32:32" 4 5; CHECK: @{{[0-9]+}} = alias 6; CHECK: @{{[0-9]+}} = alias 7@0 = constant i32 1, !type !0 8@1 = constant [2 x i32] [i32 2, i32 3], !type !1 9 10!0 = !{i32 0, !"typeid1"} 11!1 = !{i32 4, !"typeid1"} 12 13declare i1 @llvm.type.test(ptr %ptr, metadata %bitset) nounwind readnone 14 15define i1 @foo(ptr %p) { 16 %x = call i1 @llvm.type.test(ptr %p, metadata !"typeid1") 17 ret i1 %x 18} 19