Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 265 Bytes
// build-pass (FIXME(62277): could be check-pass?)
// #28600 ICE: pub extern fn with parameter type &str inside struct impl
struct Test;
impl Test {
#[allow(dead_code)]
#[allow(unused_variables)]
pub extern fn test(val: &str) {
}
}
fn main() {}
You can’t perform that action at this time.