[flang] expand the num_images test coverage
authorDamian Rouson <rouson@lbl.gov>
Thu, 17 Mar 2022 18:05:25 +0000 (11:05 -0700)
committerDamian Rouson <rouson@lbl.gov>
Wed, 13 Apr 2022 23:09:19 +0000 (16:09 -0700)
commitf253a577b296cdf9a2319661079bf87fe31ccbe6
treee9bb5600b9260c02421f88d8f2ee14ed2fba9458
parentc709f503d7969945f7242a71325c2d4632b32b1c
[flang] expand the num_images test coverage

Add a test with a range of num_images() intrinsic function
invocations, including the standard-conforming but previously
untested 'team' argument.  Also test that several non-conforming
num_images() invocations generate the correct error messages.

Differential Revision: https://reviews.llvm.org/D121938
flang/test/Semantics/num_images.f90 [deleted file]
flang/test/Semantics/num_images01.f90 [new file with mode: 0644]
flang/test/Semantics/num_images02.f90 [new file with mode: 0644]