]>
git.proxmox.com Git - rustc.git/blob - tests/ui/check-cfg/compact-values.rs
1 // This test check that we correctly emit an warning for compact cfg
4 // compile-flags:--check-cfg=values() -Z unstable-options
6 #![feature(cfg_target_compact)]
8 #[cfg(target(os = "linux", arch = "arm"))]
11 #[cfg(target(os = "linux", arch = "X"))]
12 //~^ WARNING unexpected `cfg` condition value
13 pub fn unexpected() {}