rust/tests/target/unsafe-mod.rs

8 lines
137 B
Rust
Raw Normal View History

2020-09-22 23:24:23 -05:00
// These are supported by rustc syntactically but not semantically.
#[cfg(any())]
unsafe mod m {}
#[cfg(any())]
unsafe extern "C++" {}