]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nil-decl-in-foreign.rs
Add test for issue-57200
[rust.git] / src / test / ui / nil-decl-in-foreign.rs
1 // run-pass
2
3 #![allow(improper_ctypes)]
4 #![allow(dead_code)]
5 // Issue #901
6 // pretty-expanded FIXME #23616
7
8 mod libc {
9     extern {
10         pub fn printf(x: ());
11     }
12 }
13
14 pub fn main() { }