1 ; RUN: opt -S -lowertypetests < %s | FileCheck %s
3 target datalayout = "e-p:32:32"
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
9 !0 = !{i32 0, !"typeid1"}
11 declare i1 @llvm.type.test(i8* %ptr, metadata %bitset) nounwind readnone
13 define i1 @foo(i8* %p) {
14 %x = call i1 @llvm.type.test(i8* %p, metadata !"typeid1")