]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-target-family.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / cfg / cfg-target-family.rs
1 // build-pass
2 // ignore-sgx
3
4 // pretty-expanded FIXME #23616
5
6 #[cfg(target_family = "windows")]
7 pub fn main() {}
8
9 #[cfg(target_family = "unix")]
10 pub fn main() {}
11
12 #[cfg(all(target_family = "wasm", not(target_os = "emscripten")))]
13 pub fn main() {}