https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77565
Bug ID: 77565 Summary: `typdef int Int;` --> did you mean `typeof`? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mimomorin at gmail dot com Target Milestone: --- Compiling `typdef int Int;` on gcc 7.0.0 (20160904) gives this message: error: 'typedeff' does not name a type; did you mean 'typeof'? I would expect "did you mean 'typedef'?", instead. Note that the edit distance between `typdef` and `typedef` is smaller than the one between `typdef` and `typeof`. So I think it's a bit strange that the compiler suggests `typeof`.