Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-28600.rs
blob: 297519b9a79e2b633384523a7db36b868f24315c [
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
)]
#[
allow
(
improper_ctypes_definitions
)]
pub
extern
fn
test
(
val
:
&
str
)
{
}
}
fn
main
()
{}