rustc/tests/ui/expr/if/attrs/bad-cfg.rs
2023-08-02 10:33:26 +02:00

6 lines
120 B
Rust

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