blob: 2ac3ca29355d849da230edb65f22277810446c52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Regression test for issue #91370.
extern {
//~^ `extern` blocks define existing foreign functions
fn f() {
//~^ incorrect function inside `extern` block
//~| cannot have a body
impl Copy for u8 {}
}
}
fn main() {}
|