mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
15 lines
194 B
Rust
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() {}
|