rust/tests/ui/static/issue-1660.rs

8 lines
96 B
Rust

//@ run-pass
#![allow(non_upper_case_globals)]
pub fn main() {
static _x: isize = 1<<2;
}