summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/non_minimal_cfg.rs
blob: e3ce11b73336b19a645d08edddbb795b12d6a66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(unused)]

#[cfg(all(windows))]
fn hermit() {}

#[cfg(any(windows))]
fn wasi() {}

#[cfg(all(any(unix), all(not(windows))))]
fn the_end() {}

#[cfg(any())]
fn any() {}

fn main() {}