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

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

6 lines
90 B
Rust
Raw Normal View History

2020-08-23 10:42:19 +00:00
unsafe extern "C" {
//~^ ERROR extern block cannot be declared unsafe
}
fn main() {}