fix PR5295 where the .ll parser didn't reject a function after a global