rust/tests/ui/cfg/cfg-target-compact.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
189 B
Rust
Raw Normal View History

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