2016-05-19 07:00:43 -05:00
|
|
|
extern "C" {
|
|
|
|
fn printf(_: *const u8, ...) -> u32;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2016-08-04 07:28:48 -05:00
|
|
|
unsafe { printf(); }
|
2016-08-04 07:07:14 -05:00
|
|
|
//~^ ERROR E0060
|
2016-12-01 18:33:48 -06:00
|
|
|
//~| expected at least 1 parameter
|
2016-05-19 07:00:43 -05:00
|
|
|
}
|