rust/tests/ui/const-generics/issues/issue-61432.rs

10 lines
96 B
Rust

//@ run-pass
fn promote<const N: i32>() {
let _ = &N;
}
fn main() {
promote::<0>();
}