Port another resource test to use classes

This commit is contained in:
Tim Chevalier 2012-06-01 17:47:53 -07:00
parent facb5c08c6
commit 11b4a92fc8

View file

@ -1,7 +1,8 @@
// error-pattern:mismatched types: expected `()` but found `bool`
resource r(i: int) {
true
class r {
new() {}
drop { true }
}
fn main() {