summaryrefslogtreecommitdiffstats
path: root/src/test/ui/foreign/foreign-int-types.rs
blob: 2d01d32042563a13910753f956435544bf61337b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
#![forbid(improper_ctypes)]
#![allow(dead_code)]

mod xx {
    extern "C" {
        pub fn strlen(str: *const u8) -> usize;
        pub fn foo(x: isize, y: usize);
    }
}

fn main() {}