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

5 lines
108 B
Rust
Raw Normal View History

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