]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/cfg-eval-fail.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / 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 }