summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/unsafe-mod.rs
blob: 05ba2f54faf80e80a6cc76590bc6c270fb4ee6b0 (plain)
1
2
3
4
5
6
7
// These are supported by rustc syntactically but not semantically.

#[cfg(any())]
unsafe mod m {}

#[cfg(any())]
unsafe extern "C++" {}