When processing declarations in resolve-names.cpp, we were returning a
symbol that had SubprogramName details to PushSubprogramScope(), which
expects a symbol with Subprogram details.
I adjusted the code and added a test.
Differential D89829
[flang] Fix call to CHECK() on erroneous subroutine declaration PeteSteinfeld on Oct 20 2020, 3:09 PM. Authored by
Details When processing declarations in resolve-names.cpp, we were returning a I adjusted the code and added a test.
Diff Detail
|