blob: 2ab2bf95448a4787bb6457965e947eb3f57799b1 [file] [log] [blame]
extern "C" {
fn foo(x: i32, y: u32, z: i32);
//~^ NOTE function defined here
}
fn main() {
foo(1i32, 2i32);
//~^ ERROR this function takes 3 arguments but 2 arguments were supplied
//~| NOTE argument #2 of type `u32` is missing
//~| HELP provide the argument
}