[Chapel Merge] Add test showing that FormattedIO is no longer ava

Branch: refs/heads/main
Revision: 1b0aec8
Author: bradcray
Link: Add test showing that FormattedIO is no longer available by default by bradcray · Pull Request #18744 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18744 from bradcray/add-use-formattedio-error

Add test showing that FormattedIO is no longer available by default

[trivial, not reviewed]

I'm adding the test from issue #18743, just to lock in the intended
behavior and make sure we don't backslide on this in the future.
My guess is that Lydia probably has added equivalent tests that
check for similar things in user code, but this was puzzling enough
(and the compile errors quickly enough) that it seemed beneficial
to add a test while I was looking at it.

Modified Files:
A test/library/standard/IO/useFormattedIO.chpl

A test/library/standard/IO/useFormattedIO.good

Compare: https://github.com/chapel-lang/chapel/compare/affb2f865a2b...1b0aec887556