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 05:42:19 -05:00
unsafe extern "C" {
//~^ ERROR extern block cannot be declared unsafe
}
fn main() {}