Issue 11957 - extern inside function scope ignored

This case was just plain missing.

https://d.puremagic.com/issues/show_bug.cgi?id=11957