1 2 3 4 5 6 7 8 9
// error-pattern:nonexistent class cat : nonexistent { let meows: usize; new(in_x : usize) { self.meows = in_x; } } fn main() { let nyan = cat(0); }