[flang] Add name match checks for interface procedures
authorPeter Steinfeld <psteinfeld@nvidia.com>
Sat, 17 Oct 2020 01:27:51 +0000 (18:27 -0700)
committerPeter Steinfeld <psteinfeld@nvidia.com>
Mon, 19 Oct 2020 14:51:17 +0000 (07:51 -0700)
commit0047f6aed37c4643bc9b3f3c897110447459c8db
tree62b910335a7c6faa4041f8436509e71c425ae013
parentcf814fcd3939a705f8bdf67bcf54cbf821aa6f75
[flang] Add name match checks for interface procedures

We had neglected to check for name mismatches for procedure definitions that
appear in interfaces.

I also changed label11.f90 to an error test since I think they're better than
"FileCheck" tests.

Differential Revision: https://reviews.llvm.org/D89611
flang/lib/Semantics/resolve-labels.cpp
flang/test/Semantics/label11.f90