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

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() {}