Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
src
/
test
/
ui
/
issues
/
issue-28600.rs
blob: 05c4050b03a43b0b8f14f202468505b0d5def7a7 [
file
] [
log
] [
blame
]
// 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
()
{}