os-rust/tests/ui/parser/bad-match.rs

5 lines
108 B
Rust
Raw Permalink Normal View History

2011-07-27 14:48:34 +02:00
fn main() {
let isize x = 5; //~ ERROR expected one of `:`, `;`, `=`, `@`, or `|`, found `x`
2012-08-06 12:34:08 -07:00
match x;
2011-07-27 14:48:34 +02:00
}