rust/src/test/ui/new-style-constants.rs

8 lines
80 B
Rust

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