]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-target-abi.rs
Rollup merge of #101388 - compiler-errors:issue-101376, r=fee1-dead
[rust.git] / src / test / ui / cfg / cfg-target-abi.rs
1 // run-pass
2 #![feature(cfg_target_abi)]
3
4 #[cfg(target_abi = "eabihf")]
5 pub fn main() {
6 }
7
8 #[cfg(not(target_abi = "eabihf"))]
9 pub fn main() {
10 }