[flang] Allow POINTER attribute statement on procedure interfaces
authorPeter Klausler <pklausler@nvidia.com>
Tue, 12 Apr 2022 01:57:59 +0000 (18:57 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Sat, 16 Apr 2022 03:20:56 +0000 (20:20 -0700)
commitde6e88ef5a5deb2661e16d3ab608eb3c77604136
tree238391cf12e22033ceead1d3a3e89cba5c4bc584
parent468c7b65e578dd8decc3d7a2f9dce88410503fd1
[flang] Allow POINTER attribute statement on procedure interfaces

A POINTER attribute statement is allowed to add the POINTER attribute
to a procedure entity that has already been declared, e.g. with an
INTERFACE block.

Differential Revision: https://reviews.llvm.org/D123732
flang/lib/Semantics/resolve-names.cpp
flang/test/Semantics/assign02.f90