rust/src/test/compile-fail/block-must-not-have-result-res.rs
2011-11-07 12:19:50 -08:00

8 lines
98 B
Rust

// error-pattern:this block must not have a result
resource r(i: int) {
true
}
fn main() {
}