PR17592: Ensure we diagnose shadowing a template parameter with a local extern
declaration.