]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28600.rs
Auto merge of #58281 - mark-i-m:synthesis, r=estebank
[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(dead_code)]
8     #[allow(unused_variables)]
9     pub extern fn test(val: &str) {
10
11     }
12 }
13
14 fn main() {}