[Chapel Merge] Add test ensuring Sockets package compiles

Branch: refs/heads/main
Revision: f86ba39
Author: bradcray
Link: Add test ensuring Sockets package compiles by bradcray · Pull Request #19345 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19345 from bradcray/test-sockets-compile

Add test ensuring Sockets package compiles

[trivial, not reviewed]

This adds a test to the "can compile no link" suite of tests for package
modules that strives to make sure that packages that we don't test
everywhere at least compile without errors.

Unfortunately, this test currently is a future because of #19279.
Had the test existed prior to #19262 being merged, we would've
caught the error more proactively.

Modified Files:
A test/library/packages/canCompileNoLink/testSockets.bad

A test/library/packages/canCompileNoLink/testSockets.chpl
A test/library/packages/canCompileNoLink/testSockets.future
A test/library/packages/canCompileNoLink/testSockets.good

Compare: https://github.com/chapel-lang/chapel/compare/23dc69653b68...f86ba393fb61