Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
foreign
/
issue-74120-lowering-of-ffi-block-bodies.rs
blob: 97cf3e9d51cd67868d9bfd630bcbdc7d615a1495 [
file
] [
log
] [
blame
]
// Previously this ICE'd because `fn g()` would be lowered, but the block associated with `fn f()`
// wasn't.
//@ compile-flags: --crate-type=lib
extern
"C"
{
fn
f
()
{
//~^ ERROR incorrect function inside `extern` block
fn
g
()
{}
}
}