rust/tests/ui/lint/unused_braces_macro.rs

7 lines
92 B
Rust

//@ build-pass
pub fn foo<const BAR: bool> () {}
fn main() {
foo::<{cfg!(FALSE)}>();
}