Add (incomplete) support for rule 2-10-1.
Fix: Do not report anonymous types.
Disable all warnings for the test sources.
Add another dummy return value to make GCC release build happy.