summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-61432.rs
blob: 6192af82afb2849f636fcdd45d77bf0764a8f9c5 (plain)
1
2
3
4
5
6
7
8
9
// run-pass

fn promote<const N: i32>() {
    let _ = &N;
}

fn main() {
    promote::<0>();
}