]> git.lizzy.rs Git - rust.git/blob - src/test/ui/check-cfg/stmt-no-ice.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.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 }