rust/tests/ui/foreign/nil-decl-in-foreign.rs
2023-01-11 09:32:08 +00:00

15 lines
192 B
Rust

// run-pass
#![allow(improper_ctypes)]
#![allow(dead_code)]
// Issue #901
// pretty-expanded FIXME #23616
mod libc {
extern "C" {
pub fn printf(x: ());
}
}
pub fn main() {}