rust/tests/ui/consts/const.rs
2024-02-16 20:02:50 +00:00

7 lines
108 B
Rust

//@ run-pass
#![allow(non_upper_case_globals)]
static i: isize = 10;
pub fn main() { println!("{}", i); }