fix Issue 11424 - typedef on structs isn't caught

It should be caught even if the typedef keyword usage is meaningless.
Merge pull request #2711 from 9rnsr/fix11424

[REG2.064a] Issue 11424 - typedef on structs isn't caught