[flang] Enforce constraint C911
authorPeter Klausler <pklausler@nvidia.com>
Tue, 11 Oct 2022 19:45:05 +0000 (12:45 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Sat, 29 Oct 2022 21:08:44 +0000 (14:08 -0700)
commit4052c50122a1f7e64a65e1b391cc37b5cccb2662
tree9e939e02cad1b817ce164d278354e45dd61a59e7
parent39f6d8334522ee5baefeae49be5bf1a3d6163e9f
[flang] Enforce constraint C911

Diagnose attempts to use an non-polymorphic instance of an
abstract derived type.

Differential Revision: https://reviews.llvm.org/D136902
flang/include/flang/Semantics/expression.h
flang/lib/Semantics/expression.cpp
flang/test/Semantics/abstract01.f90 [new file with mode: 0644]