mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
7 lines
113 B
Rust
7 lines
113 B
Rust
trait T {
|
|
extern "Rust" unsafe fn foo();
|
|
//~^ ERROR expected `{`, found keyword `unsafe`
|
|
}
|
|
|
|
fn main() {}
|