summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const.rs
blob: 71fbadfa828b6f9bf2ea37a9859557d610623b1e (plain)
1
2
3
4
5
6
// run-pass
#![allow(non_upper_case_globals)]

static i: isize = 10;

pub fn main() { println!("{}", i); }