summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/class-implements-bad-trait.rs
blob: f2f85d0265a8abd2a9dda94c9fa344e895760669 (plain)
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);
}