rust/src/test/ui/consts/const.rs
2019-07-27 18:56:16 +03:00

7 lines
107 B
Rust

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