blob: 3bbe4ae29bdd69a45bf47919d3978eda55096291 [file] [log] [blame]
// build-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() {}