summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused_braces_macro.rs
blob: bfee95378bffee699ed674f2b8641f9933bda49d (plain)
1
2
3
4
5
6
// build-pass
pub fn foo<const BAR: bool> () {}

fn main() {
    foo::<{cfg!(feature = "foo")}>();
}