1 2 3 4 5 6 7
// error-pattern: type cat cannot be dereferenced class cat { new() {} } fn main() { let nyan = cat(); log (error, *nyan); }