re PR c/28502 (ICE with invalid declaration after definition)