[libcxx] [test] Remove asserts that <cstddef> and <stdexcept> are included by <bitset>

Reviewed as https://reviews.llvm.org/D50421

llvm-svn: 339212
This commit is contained in:
Billy Robert O'Neal III 2018-08-08 00:43:38 +00:00
parent 58d29cf590
commit e94d16e223
1 changed files with 1 additions and 10 deletions

View File

@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
// test that <bitset> includes <cstddef>, <string>, <stdexcept> and <iosfwd>
// test that <bitset> includes <string> and <iosfwd>
#include <bitset>
@ -15,18 +15,9 @@ template <class> void test_typedef() {}
int main()
{
{ // test for <cstddef>
std::ptrdiff_t p; ((void)p);
std::size_t s; ((void)s);
std::nullptr_t np; ((void)np);
}
{ // test for <string>
std::string s; ((void)s);
}
{ // test for <stdexcept>
std::logic_error le("blah"); ((void)le);
std::runtime_error re("blah"); ((void)re);
}
{ // test for <iosfwd>
test_typedef<std::ios>();
test_typedef<std::wios>();