]> git.proxmox.com Git - rustc.git/blob - src/test/ui/check-cfg/stmt-no-ice.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / check-cfg / stmt-no-ice.rs
1 // This test checks that there is no ICE with this code
2 //
3 // check-pass
4 // compile-flags:--check-cfg=names() -Z unstable-options
5
6 fn main() {
7 #[cfg(crossbeam_loom)]
8 //~^ WARNING unexpected `cfg` condition name
9 {}
10 }