mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
13 lines
255 B
Rust
13 lines
255 B
Rust
// 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() {}
|