rust/tests/source/unsafe-mod.rs

8 lines
139 B
Rust
Raw Normal View History

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