blob: a5427b94a57c5b1390f90b16788d18116da15adb [file] [log] [blame] [edit]
//@ build-pass
// #28600 ICE: pub extern fn with parameter type &str inside struct impl
struct Test;
impl Test {
#[allow(dead_code)]
#[allow(unused_variables)]
#[allow(improper_ctypes_definitions)]
pub extern "C" fn test(val: &str) {
}
}
fn main() {}