]> git.lizzy.rs Git - rust.git/blob - src/test/ui/foreign/foreign-int-types.rs
Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt
[rust.git] / src / test / ui / foreign / foreign-int-types.rs
1 // run-pass
2 #![forbid(improper_ctypes)]
3 #![allow(dead_code)]
4
5 mod xx {
6     extern "C" {
7         pub fn strlen(str: *const u8) -> usize;
8         pub fn foo(x: isize, y: usize);
9     }
10 }
11
12 fn main() {}