blob: 297519b9a79e2b633384523a7db36b868f24315c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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 fn test(val: &str) {
}
}
fn main() {}
|