mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
10 lines
95 B
Rust
10 lines
95 B
Rust
// run-pass
|
|
|
|
fn promote<const N: i32>() {
|
|
let _ = &N;
|
|
}
|
|
|
|
fn main() {
|
|
promote::<0>();
|
|
}
|