[flang] Semantic checks for constraints on types
authorPete Steinfeld <psteinfeld@nvidia.com>
Mon, 10 Feb 2020 21:24:32 +0000 (13:24 -0800)
committerPete Steinfeld <psteinfeld@nvidia.com>
Tue, 11 Feb 2020 19:30:51 +0000 (11:30 -0800)
commit702d3075acb24cd8e2ff27a492aa04e468d4e221
tree86d357618fe2491261d7da4a2151e53373e20309
parent766d633ebf70d2a02aa9ce8e4e4110a0991bf45e
[flang] Semantic checks for constraints on types
I implemented and added tests for constraints C703, C704, C705, C706,
and C796.  In some cases, the code and/or test already existed, and all
I did was add a notation indicating the associated constraint.

Original-commit: flang-compiler/f18@49a64c4c2374e930f6890b270289a6f49ba63edd
Reviewed-on: https://github.com/flang-compiler/f18/pull/978
flang/lib/semantics/check-declarations.cpp
flang/lib/semantics/resolve-names.cpp
flang/test/semantics/CMakeLists.txt
flang/test/semantics/allocate04.f90
flang/test/semantics/resolve52.f90
flang/test/semantics/resolve69.f90
flang/test/semantics/resolve70.f90 [new file with mode: 0644]
flang/test/semantics/structconst01.f90