2012-07-06 21:06:58 -05:00
|
|
|
// error-pattern:nonexistent
|
2012-06-22 20:19:35 -05:00
|
|
|
class cat : nonexistent {
|
2015-01-08 05:02:42 -06:00
|
|
|
let meows: usize;
|
|
|
|
new(in_x : usize) { self.meows = in_x; }
|
2012-04-11 18:18:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2015-03-03 02:42:26 -06:00
|
|
|
let nyan = cat(0);
|
2012-07-06 21:06:58 -05:00
|
|
|
}
|