Skip to content

Commit d0fb835

Browse files
authored
[libc++] Remove invalid char_traits instantiations from a test (#142016)
We had a test which created invalid char_traits instantiations for non-character types. This patch removes them.
1 parent 769c42f commit d0fb835

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

libcxx/test/std/input.output/iostream.forward/iosfwd.pass.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,91 +33,76 @@ int main(int, char**)
3333
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
3434
test<std::basic_ios<wchar_t>* >();
3535
#endif
36-
test<std::basic_ios<unsigned short>*>();
3736

3837
test<std::basic_streambuf<char>* >();
3938
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
4039
test<std::basic_streambuf<wchar_t>* >();
4140
#endif
42-
test<std::basic_streambuf<unsigned short>*>();
4341

4442
test<std::basic_istream<char>* >();
4543
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
4644
test<std::basic_istream<wchar_t>* >();
4745
#endif
48-
test<std::basic_istream<unsigned short>*>();
4946

5047
test<std::basic_ostream<char>* >();
5148
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
5249
test<std::basic_ostream<wchar_t>* >();
5350
#endif
54-
test<std::basic_ostream<unsigned short>*>();
5551

5652
test<std::basic_iostream<char>* >();
5753
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
5854
test<std::basic_iostream<wchar_t>* >();
5955
#endif
60-
test<std::basic_iostream<unsigned short>*>();
6156

6257
test<std::basic_stringbuf<char>* >();
6358
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
6459
test<std::basic_stringbuf<wchar_t>* >();
6560
#endif
66-
test<std::basic_stringbuf<unsigned short>*>();
6761

6862
test<std::basic_istringstream<char>* >();
6963
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
7064
test<std::basic_istringstream<wchar_t>* >();
7165
#endif
72-
test<std::basic_istringstream<unsigned short>*>();
7366

7467
test<std::basic_ostringstream<char>* >();
7568
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
7669
test<std::basic_ostringstream<wchar_t>* >();
7770
#endif
78-
test<std::basic_ostringstream<unsigned short>*>();
7971

8072
test<std::basic_stringstream<char>* >();
8173
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
8274
test<std::basic_stringstream<wchar_t>* >();
8375
#endif
84-
test<std::basic_stringstream<unsigned short>*>();
8576

8677
test<std::basic_filebuf<char>* >();
8778
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
8879
test<std::basic_filebuf<wchar_t>* >();
8980
#endif
90-
test<std::basic_filebuf<unsigned short>*>();
9181

9282
test<std::basic_ifstream<char>* >();
9383
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
9484
test<std::basic_ifstream<wchar_t>* >();
9585
#endif
96-
test<std::basic_ifstream<unsigned short>*>();
9786

9887
test<std::basic_ofstream<char>* >();
9988
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
10089
test<std::basic_ofstream<wchar_t>* >();
10190
#endif
102-
test<std::basic_ofstream<unsigned short>*>();
10391

10492
test<std::basic_fstream<char>* >();
10593
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
10694
test<std::basic_fstream<wchar_t>* >();
10795
#endif
108-
test<std::basic_fstream<unsigned short>*>();
10996

11097
test<std::istreambuf_iterator<char>* >();
11198
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
11299
test<std::istreambuf_iterator<wchar_t>* >();
113100
#endif
114-
test<std::istreambuf_iterator<unsigned short>*>();
115101

116102
test<std::ostreambuf_iterator<char>* >();
117103
#ifndef TEST_HAS_NO_WIDE_CHARACTERS
118104
test<std::ostreambuf_iterator<wchar_t>* >();
119105
#endif
120-
test<std::ostreambuf_iterator<unsigned short>*>();
121106

122107
test<std::ios* >();
123108
#ifndef TEST_HAS_NO_WIDE_CHARACTERS

0 commit comments

Comments
 (0)