Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
ui
/
parser
/
no-const-fn-in-extern-block.rs
blob: 29f26389ded1876c2be6187ab7156915df03a005 [
file
] [
log
] [
blame
]
extern
{
const
fn
foo
();
//~^ ERROR extern items cannot be `const`
const
unsafe
fn
bar
();
//~^ ERROR extern items cannot be `const`
}
fn
main
()
{}