Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
()
{}