rust/src/test/compile-fail/class-implements-bad-iface.rs
2012-07-09 10:27:13 -07:00

10 lines
155 B
Rust

// error-pattern:nonexistent
class cat : nonexistent {
let meows: uint;
new(in_x : uint) { self.meows = in_x; }
}
fn main() {
let nyan = cat(0u);
}