fix Issue 9399 - ICE with nested function, template alias parameter, -inline, depending on order of source files
Merge pull request #1587 from 9rnsr/fix9399

Issue 9399 - ICE with nested function, template alias parameter, -inline, depending on order of source files