rust/src/test/ui/error-codes/E0060.rs

10 lines
156 B
Rust
Raw Normal View History

2016-05-19 07:00:43 -05:00
extern "C" {
fn printf(_: *const u8, ...) -> u32;
}
fn main() {
unsafe { printf(); }
//~^ ERROR E0060
//~| expected at least 1 parameter
2016-05-19 07:00:43 -05:00
}