Add a test with a range of num_images() intrinsic function
invocations, including with the previously untested, standard-conforming
'team' argument. Also test that several non-conforming
num_images() invocations generate the correct error messages.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This test looks really good but both the team and team_number arguments must be scalars, so it might be helpful to add calls that violate this.
Comment Actions
Since num_images() can have a single argument of team or team_number or no argument at all, adding the keyword arguments for these expected errors narrows the focus that you are trying to test that the team_number argument specifically shall not be a scalar and same with team. So I suggest adding these keyword arguments here.
flang/test/Semantics/num_images02.f90 | ||
---|---|---|
37 | ||
41 |