1; Tests that we don't allow illegal sized parameters on indirect calls. 2 3; REQUIRES: no_minimal_build 4 5; RUN: %p2i --expect-fail -i %s --insts | FileCheck %s 6 7define internal void @CallIndirectI32(i32 %f_addr) { 8entry: 9 %f = inttoptr i32 %f_addr to i32(i8)* 10 %r = call i32 %f(i8 1) 11; CHECK: Argument 1 of function has invalid type: i8 12 ret void 13} 14