rust/tests/ui/foreign/nil-decl-in-foreign.rs
2024-02-16 20:02:50 +00:00

15 lines
194 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() {}