Skip to content
Snippets Groups Projects
Commit 0c773209 authored by Jonathan Wakely's avatar Jonathan Wakely
Browse files

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.
parent 2ef5200a
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,8 @@ void test04() ...@@ -38,6 +38,8 @@ void test04()
cout.flush(); cout.flush();
} }
// { dg-output "hello fine world" }
int int
main() main()
{ {
......
...@@ -38,6 +38,8 @@ void test04() ...@@ -38,6 +38,8 @@ void test04()
wcout.flush(); wcout.flush();
} }
// { dg-output "hello fine world" }
int int
main() main()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment