PR libstdc++/88607 add tests using -finput-charset=ascii

This verifies that the <bits/extc++.h> header can be compiled with ASCII
as the input character set.

	PR libstdc++/88607
	* testsuite/17_intro/headers/c++1998/charset.cc: New test.
	* testsuite/17_intro/headers/c++2011/charset.cc: New test.
	* testsuite/17_intro/headers/c++2014/charset.cc: New test.
	* testsuite/17_intro/headers/c++2017/charset.cc: New test.
	* testsuite/17_intro/headers/c++2020/charset.cc: New test.

From-SVN: r267607
This commit is contained in:
Jonathan Wakely 2019-01-06 00:49:11 +00:00 committed by Jonathan Wakely
parent 881b8ffecd
commit ecaad8d5cf
6 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2019-01-06 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/88607
* testsuite/17_intro/headers/c++1998/charset.cc: New test.
* testsuite/17_intro/headers/c++2011/charset.cc: New test.
* testsuite/17_intro/headers/c++2014/charset.cc: New test.
* testsuite/17_intro/headers/c++2017/charset.cc: New test.
* testsuite/17_intro/headers/c++2020/charset.cc: New test.
2019-01-05 Jonathan Wakely <jwakely@redhat.com>
* include/bits/fs_fwd.h (__file_clock): Define new clock.

View File

@ -0,0 +1,4 @@
// { dg-options "-finput-charset=ascii" }
// { dg-do compile }
#include <bits/extc++.h>

View File

@ -0,0 +1,4 @@
// { dg-options "-finput-charset=ascii" }
// { dg-do compile }
#include <bits/extc++.h>

View File

@ -0,0 +1,4 @@
// { dg-options "-finput-charset=ascii" }
// { dg-do compile }
#include <bits/extc++.h>

View File

@ -0,0 +1,4 @@
// { dg-options "-finput-charset=ascii" }
// { dg-do compile }
#include <bits/extc++.h>

View File

@ -0,0 +1,4 @@
// { dg-options "-finput-charset=ascii" }
// { dg-do compile }
#include <bits/extc++.h>