OSDN Git Service

[SubZero] lower float and double constants for MIPS
[android-x86/external-swiftshader.git] / tests_lit / parse_errs / fcn-bad-param-type.ll
1 ; Test that even if a call parameter matches its declaration, it must still
2 ; be a legal call parameter type (unless declaration is intrinsic).
3
4 ; REQUIRES: no_minimal_build
5
6 ; RUN: %p2i --expect-fail -i %s --insts --args \
7 ; RUN:      -allow-externally-defined-symbols | FileCheck %s
8
9 declare void @f(i8);
10 ; CHECK: Invalid type signature for f: void (i8)
11
12 define void @Test() {
13 entry:
14   call void @f(i8 1)
15   ret void
16 }