rust/tests/ui/parser/unsafe-foreign-mod-2.rs
2024-07-23 00:29:39 -03:00

7 lines
109 B
Rust

extern "C" unsafe {
//~^ ERROR expected `{`, found keyword `unsafe`
unsafe fn foo();
}
fn main() {}