rust/tests/ui/parser/unsafe-foreign-mod-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
109 B
Rust
Raw Normal View History

extern "C" unsafe {
2024-04-24 17:10:14 -05:00
//~^ ERROR expected `{`, found keyword `unsafe`
unsafe fn foo();
}
fn main() {}