[all-commits] [llvm/llvm-project] 3de92c: [flang] Add tests for procedure arguments with imp...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Wed Jan 13 16:50:55 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3de92ca78cd4e180920acc077452f87c44c7d935
      https://github.com/llvm/llvm-project/commit/3de92ca78cd4e180920acc077452f87c44c7d935
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/call09.f90

  Log Message:
  -----------
  [flang] Add tests for procedure arguments with implicit interfaces

It's possible to declare an external procedure and then pass it as an
actual argument to a subprogram expecting a procedure argument.  I added
tests for this and added an error message to distinguish passing an
actual argument with an implicit interface from passing an argument with
a mismatched explicit interface.

Differential Revision: https://reviews.llvm.org/D94505




More information about the All-commits mailing list