about summary refs log tree commit diff
path: root/tests/ui/proc-macro/cfg-eval-fail.rs
blob: a94dcd28378119721797f7f40870079612f99b23 (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
}