libstdc++: Add dg-output to two tests

These tests are expected to run interactively, with the output checked
by eye. Nobody ever does that, but we can at least use dg-output to
check that the output is as expected.

libstdc++-v3/ChangeLog:

	* testsuite/27_io/objects/char/2.cc: Use dg-output.
	* testsuite/27_io/objects/wchar_t/2.cc: Use dg-output.
This commit is contained in:
Jonathan Wakely 2023-12-11 22:58:46 +00:00
parent 2ef5200a6f
commit 0c773209fc
2 changed files with 4 additions and 0 deletions

View file

@ -38,6 +38,8 @@ void test04()
cout.flush();
}
// { dg-output "hello fine world" }
int
main()
{

View file

@ -38,6 +38,8 @@ void test04()
wcout.flush();
}
// { dg-output "hello fine world" }
int
main()
{