fix Issue 4162 - pass by alias offset problems
fix Issue 6796 - Several __error with wrong enum definition
fix Issue 9765 - Error message with __error with struct literal dotvar expression
fix Issue 9861 - Spurious 'is used as type' error with failed template instantiation
fix Issue 10259 - ICE on invalid compile-time class instantiation
fix Issue 10483 - ICE(expression.c) .init of struct with block initialized 2D static array
fix Issue 10598 - Using not-imported type - AssertFail: 'global.errors' line 6040 'template.c'
Merge pull request #2819 from 9rnsr/worksforme

[trivial] Add test cases for WORKSFORME issues