1 ; RUN: opt -passes=lint < %s
3 ; lint shouldn't crash on any of the below functions
5 @g_1 = external global [3 x i32]
6 @g_2 = external global [2 x i32]
10 tail call void @f1(i1 ptrtoint (ptr @g_2 to i1))
16 define void @test2() {
17 tail call void inttoptr (i64 -1 to ptr)()