fix issue 6677 - static this attributes position
fix issue 6677 - static this attributes position
fix Issue 12841 - ICE on taking function address
Merge pull request #3612 from WalterBright/hpohl-6677

 fix issue 6677 - static this attributes position
Merge pull request #3616 from 9rnsr/fix12841

Issue 12841 - ICE on taking function address
Add exhaustive (but incomplete) test case
+