]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nil-decl-in-foreign.rs
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[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 "C" {
10         pub fn printf(x: ());
11     }
12 }
13
14 pub fn main() {}