diff options
author | Peter Steinfeld <psteinfeld@nvidia.com> | 2021-01-12 08:52:27 -0800 |
---|---|---|
committer | Peter Steinfeld <psteinfeld@nvidia.com> | 2021-01-13 16:43:09 -0800 |
commit | 3de92ca78cd4e180920acc077452f87c44c7d935 (patch) | |
tree | 8fd6850995017f28ae5d29364f3aad62c2fe51e5 /llvm/lib/Support/Program.cpp | |
parent | c82deed6764cbc63966374baf9721331901ca958 (diff) | |
download | llvm-3de92ca78cd4e180920acc077452f87c44c7d935.zip llvm-3de92ca78cd4e180920acc077452f87c44c7d935.tar.gz llvm-3de92ca78cd4e180920acc077452f87c44c7d935.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions