]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-const.rs
Merge branch 'debian/sid' into debian/experimental
[rustc.git] / src / test / ui / consts / const-const.rs
1 // run-pass
2 #![allow(non_upper_case_globals)]
3
4 const a: isize = 1;
5 const b: isize = a + 2;
6
7 pub fn main() {
8 assert_eq!(b, 3);
9 }