]> git.lizzy.rs Git - rust.git/blob - src/test/ui/foreign/foreign-int-types.rs
Rollup merge of #98174 - Kixunil:rename_ptr_as_mut_const_to_cast, r=scottmcm
[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() {}