for the attached code the parser fails with:
stmtFctn.f90 line 14:2 no viable alternative at input 'double'
Even though I know that statement functions are obsolescent,
this stems from an application. So I haven't made this up to
annoy people and break the parser :-)
code with the statement function triggering the problem