]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/cfg-eval-fail.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / proc-macro / cfg-eval-fail.rs
1 #![feature(cfg_eval)]
2 #![feature(stmt_expr_attributes)]
3
4 fn main() {
5     let _ = #[cfg_eval] #[cfg(FALSE)] 0;
6     //~^ ERROR removing an expression is not supported in this position
7 }