rust/tests/ui/expr/if/attrs/bad-cfg.rs
2023-01-11 09:32:08 +00:00

6 lines
120 B
Rust

#![feature(stmt_expr_attributes)]
fn main() {
let _ = #[cfg(FALSE)] if true {}; //~ ERROR removing an expression
}