summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/cfg-eval-fail.rs
blob: a259aa2e6ec0c5d145d31a9c4040a353ac6f510a (plain)
1
2
3
4
5
6
7
#![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
}