summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/unsafe-mod.rs
blob: 9996b06271a5ab93d3b93a5c9bc029dd9f1009db (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++" { }