blob: 97cf3e9d51cd67868d9bfd630bcbdc7d615a1495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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() {}
}
}
|