Write semantics tests for the FORM TEAM statement.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The tests look great! Please see my inline comments for some suggestions. Also, I see that you are checking to make sure that type mismatches for the team-number, team-variable and the specifiers in the form-team-spec-list are caught, which is great. Since all of these are supposed to be scalar, what about checking that rank mismatches for team-number, team-variable and the specifiers are not allowed?
flang/test/Semantics/form_team01.f90 | ||
---|---|---|
35 | ||
36 | If it is your intention to have new_index be coindexed, the coarray reference needs to include an image-selector. See the suggested edit. For the image-selector, you can of course put a this_image() call or pick a different integer literal than the one I included in my suggested edit. | |
flang/test/Semantics/form_team01b.f90 | ||
16 | See comment above about coindexing. | |
19 | See comment above about coindexing. |
LGTM.
Do you have commit permissions? Or do you need someone to commit on your behalf?