[Chapel Merge] Add test exercising array returns and checking rec

Branch: refs/heads/master
Revision: 6a1521f
Author: mppf
Log Message:

Merge pull request #16537 from mppf/add-array-return-test

Add test exercising array returns and checking record copy-init

I realized that the test/arrays/ferguson/array-initialization-patterns
did not seem to include a test exercising initing a variable from a
function call with variations on typed/untyped declaration/return.

Test change only - not reviewed.

Modified Files:
A test/arrays/ferguson/array-initialization-patterns/array-init-returns.chpl
A test/arrays/ferguson/array-initialization-patterns/array-init-returns.good

Compare: https://github.com/chapel-lang/chapel/compare/4dfbc30eb093...6a1521f5c35a