mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
10 lines
95 B
Rust
10 lines
95 B
Rust
// run-pass
|
|
|
|
fn promote<const N: i32>() {
|
|
let _ = &N;
|
|
}
|
|
|
|
fn main() {
|
|
promote::<0>();
|
|
}
|