summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0060.rs
blob: 7050a1dff6c2faa54225ed4deef9d46a3626eaa6 (plain)
1
2
3
4
5
6
7
8
extern "C" {
    fn printf(_: *const u8, ...) -> u32;
}

fn main() {
    unsafe { printf(); }
    //~^ ERROR E0060
}