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