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

#[cfg(target_abi = "eabihf")]
pub fn main() {
}

#[cfg(not(target_abi = "eabihf"))]
pub fn main() {
}