summary refs log tree commit diff
path: root/src/test/ui/proc-macro/cfg-eval-fail.rs
blob: 379491f3126b06e0e978a035e74a87f492284454 (plain)
1
2
3
4
5
6
7
8
9
#![feature(cfg_eval)]
#![feature(stmt_expr_attributes)]

fn main() {
    let _ = #[cfg_eval] #[cfg(FALSE)] 0;
    //~^ ERROR removing an expression is not supported in this position
    //~| ERROR removing an expression is not supported in this position
    //~| ERROR removing an expression is not supported in this position
}