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