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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
95 B
Rust
Raw Normal View History

2019-08-19 19:33:49 +03:00
// run-pass
fn promote<const N: i32>() {
let _ = &N;
2019-08-19 19:33:49 +03:00
}
fn main() {
promote::<0>();
}