Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
foreign
/
issue-74120-lowering-of-ffi-block-bodies.rs
blob: a84065e02186855cbb0f6e4241eb0576638b005f [
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
()
{
//~^ incorrect function inside `extern` block
fn
g
()
{}
}
}