1 #![forbid(non_upper_case_globals)]
4 static foo: isize = 1; //~ ERROR static variable `foo` should have an upper case name
6 static mut bar: isize = 1; //~ ERROR static variable `bar` should have an upper case name
9 pub static extern_foo: isize = 1; // OK, because #[no_mangle] supersedes the warning