rust/tests/ui/cfg/cfg-target-compact.rs
2024-02-16 20:02:50 +00:00

11 lines
190 B
Rust

//@ 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() {
}