[Chapel Merge] Add tests for issue 14996

Branch: refs/heads/main
Revision: 7be04c4
Author: mppf
Link: Add tests for issue 14996 by mppf · Pull Request #18593 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18593 from mppf/future-14996

Add tests for issue 14996

Adds 3 test cases for the examples in #14996

Test changes only - not reviewed.

Modified Files:
A test/types/records/intents/issue-14996-1.chpl

A test/types/records/intents/issue-14996-1.good
A test/types/records/intents/issue-14996-2.chpl
A test/types/records/intents/issue-14996-2.good
A test/types/records/intents/issue-14996-3.chpl
A test/types/records/intents/issue-14996-3.good

Compare: https://github.com/chapel-lang/chapel/compare/e49ac366ab69...7be04c4d2c7e