summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/non_minimal_cfg.rs
blob: a38ce1c21d6e3528b32dac35afcfe64e0743e75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//@run-rustfix

#![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() {}