diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/iostream.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/iostream.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/iostream.cc b/libstdc++-v3/testsuite/27_io/iostream.cc index 26849ac0fd2..943819bf82f 100644 --- a/libstdc++-v3/testsuite/27_io/iostream.cc +++ b/libstdc++-v3/testsuite/27_io/iostream.cc @@ -34,6 +34,18 @@ #include <istream> +// libstdc++/7216 +void test01() +{ + // Check for required typedefs + typedef std::iostream test_type; + typedef test_type::char_type char_type; + typedef test_type::traits_type traits_type; + typedef test_type::int_type int_type; + typedef test_type::pos_type pos_type; + typedef test_type::off_type off_type; +} + namespace test { using namespace std; @@ -43,5 +55,6 @@ namespace test int main() { + test01(); return 0; } |