rust/tests/ui/parser/unsafe-foreign-mod.rs
2023-01-11 09:32:08 +00:00

5 lines
90 B
Rust

unsafe extern "C" {
//~^ ERROR extern block cannot be declared unsafe
}
fn main() {}