[REG2.065a] Issue 12080 - Internal error: backend/symbol.c 1035 for invariant

https://d.puremagic.com/issues/show_bug.cgi?id=12080

This is an inliner bug introduced by #2592.