The code below causes flang to crash with an exception.
After fixing the crash flang with an internal error "no symbol found for 'bar'"
This change fixes all the issues.
program name implicit none integer, parameter :: bar = 1 integer foo(bar) /bar*2/ end program name
Nit: Is this empty line required?