]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-28600.rs
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / issues / issue-28600.rs
1 // build-pass
2 // #28600 ICE: pub extern fn with parameter type &str inside struct impl
3
4 struct Test;
5
6 impl Test {
7 #[allow(dead_code)]
8 #[allow(unused_variables)]
9 #[allow(improper_ctypes_definitions)]
10 pub extern fn test(val: &str) {
11
12 }
13 }
14
15 fn main() {}