]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28600.rs
Rollup merge of #66050 - smaeul:patch/powerpc-abi-2, r=eddyb
[rust.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(improper_ctypes)]
8     #[allow(dead_code)]
9     #[allow(unused_variables)]
10     pub extern fn test(val: &str) {
11
12     }
13 }
14
15 fn main() {}