summaryrefslogtreecommitdiffstats
path: root/tests/ui/cfg/cfg-target-compact.rs
blob: dc95a80915c4307ed32591e89ecac5773fac9926 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
#![feature(cfg_target_compact)]

#[cfg(target(os = "linux", pointer_width = "64"))]
pub fn main() {
}

#[cfg(not(target(os = "linux", pointer_width = "64")))]
pub fn main() {
}