rust/tests/ui/error-codes/E0060.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
117 B
Rust
Raw Normal View History

2016-05-19 12:00:43 +00:00
extern "C" {
fn printf(_: *const u8, ...) -> u32;
}
fn main() {
unsafe { printf(); }
//~^ ERROR E0060
2016-05-19 12:00:43 +00:00
}