]> git.lizzy.rs Git - rust.git/blob - src/test/ui/warn-ctypes-inhibit.rs
Add test for issue-57200
[rust.git] / src / test / ui / warn-ctypes-inhibit.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // compile-flags:-D improper-ctypes
5
6 // pretty-expanded FIXME #23616
7
8 #![allow(improper_ctypes)]
9
10 mod libc {
11     extern {
12         pub fn malloc(size: isize) -> *const u8;
13     }
14 }
15
16 pub fn main() {
17 }