rust/src/test/run-pass/match-range-static.rs
Alex Crichton 30862a64c2 Fix run-pass tests to have 'pub fn main'
This is required by the check-fast target because each test is slurped up into a
submodule.
2013-09-25 00:43:37 -07:00

10 lines
115 B
Rust

static s: int = 1;
static e: int = 42;
pub fn main() {
match 7 {
s..e => (),
_ => (),
}
}