BillyONeal updated this revision to Diff 159632.
BillyONeal added a comment.
Remove comma.
https://reviews.llvm.org/D50421
Files:
test/std/utilities/template.bitset/includes.pass.cpp
Index: test/std/utilities/template.bitset/includes.pass.cpp
===================================================================
--- test/std/utilities/template.bitset/includes.pass.cpp
+++ test/std/utilities/template.bitset/includes.pass.cpp
@@ -7,26 +7,17 @@
//
//===----------------------------------------------------------------------===//
-// test that <bitset> includes <cstddef>, <string>, <stdexcept> and <iosfwd>
+// test that <bitset> includes <string> and <iosfwd>
#include <bitset>
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>();
Index: test/std/utilities/template.bitset/includes.pass.cpp
===================================================================
--- test/std/utilities/template.bitset/includes.pass.cpp
+++ test/std/utilities/template.bitset/includes.pass.cpp
@@ -7,26 +7,17 @@
//
//===----------------------------------------------------------------------===//
-// test that <bitset> includes <cstddef>, <string>, <stdexcept> and <iosfwd>
+// test that <bitset> includes <string> and <iosfwd>
#include <bitset>
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>();
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits