rust/tests/ui/new-style-constants.rs

8 lines
81 B
Rust

//@ run-pass
static FOO: isize = 3;
pub fn main() {
println!("{}", FOO);
}