summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_ciso646.cc8
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_cstdio.cc7
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_cstdlib.cc5
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_cstring.cc5
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_ctime.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_cwchar.cc2
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_cwctype.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_fstream.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_iomanip.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_ios.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_iosfwd.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_iostream.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_istream.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_ostream.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_sstream.cc6
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_streambuf.cc2
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers.cc2
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers_c++.cc2
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers_c.cc2
-rw-r--r--libstdc++-v3/testsuite/18_support/numeric_limits.cc5
-rw-r--r--libstdc++-v3/testsuite/21_strings/append.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/c_strings.cc4
-rw-r--r--libstdc++-v3/testsuite/21_strings/capacity.cc2
-rw-r--r--libstdc++-v3/testsuite/21_strings/char_traits_requirements.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/compare.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc9
-rw-r--r--libstdc++-v3/testsuite/21_strings/element_access.cc8
-rw-r--r--libstdc++-v3/testsuite/21_strings/find.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/insert.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/inserters_extractors.cc15
-rw-r--r--libstdc++-v3/testsuite/21_strings/invariants.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/nonmember.cc10
-rw-r--r--libstdc++-v3/testsuite/21_strings/operations.cc2
-rw-r--r--libstdc++-v3/testsuite/21_strings/replace.cc6
-rw-r--r--libstdc++-v3/testsuite/21_strings/rfind.cc1
-rw-r--r--libstdc++-v3/testsuite/21_strings/substr.cc6
-rw-r--r--libstdc++-v3/testsuite/22_locale/codecvt_char_char.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/codecvt_unicode_char.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/codecvt_unicode_wchar_t.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/codecvt_wchar_t_char.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/ctype_char_members.cc2
-rw-r--r--libstdc++-v3/testsuite/22_locale/ctype_wchar_t_members.cc2
-rw-r--r--libstdc++-v3/testsuite/22_locale/facet.cc8
-rw-r--r--libstdc++-v3/testsuite/22_locale/members.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/numpunct_byname.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/numpunct_char_members.cc1
-rw-r--r--libstdc++-v3/testsuite/23_containers/multiset.cc1
-rw-r--r--libstdc++-v3/testsuite/23_containers/vector_ctor.cc3
-rw-r--r--libstdc++-v3/testsuite/23_containers/vector_element_access.cc3
-rw-r--r--libstdc++-v3/testsuite/23_containers/vector_modifiers.cc4
-rw-r--r--libstdc++-v3/testsuite/24_iterators/istreambuf_iterator.cc2
-rw-r--r--libstdc++-v3/testsuite/24_iterators/iterator.cc3
-rw-r--r--libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc5
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/lower_bound.cc3
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/min_max.cc3
-rw-r--r--libstdc++-v3/testsuite/26_numerics/binary_closure.cc1
-rw-r--r--libstdc++-v3/testsuite/26_numerics/buggy_complex.cc1
-rw-r--r--libstdc++-v3/testsuite/26_numerics/c_math.cc1
-rw-r--r--libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc1
-rw-r--r--libstdc++-v3/testsuite/26_numerics/valarray.cc3
-rw-r--r--libstdc++-v3/testsuite/27_io/filebuf.cc10
-rw-r--r--libstdc++-v3/testsuite/27_io/filebuf_members.cc4
-rw-r--r--libstdc++-v3/testsuite/27_io/fpos.cc4
-rw-r--r--libstdc++-v3/testsuite/27_io/ifstream_members.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_base_callbacks.cc4
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_base_members_static.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_base_storage.cc4
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_ctor.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_members.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/istream.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_extractor_arith.cc17
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_extractor_char.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_extractor_other.cc5
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_manip.cc6
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_seeks.cc8
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_sentry.cc13
-rw-r--r--libstdc++-v3/testsuite/27_io/istream_unformatted.cc13
-rw-r--r--libstdc++-v3/testsuite/27_io/istringstream_members.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ofstream_members.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc10
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream_manip.cc6
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream_seeks.cc8
-rw-r--r--libstdc++-v3/testsuite/27_io/ostream_unformatted.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/streambuf.cc13
-rw-r--r--libstdc++-v3/testsuite/27_io/stringbuf.cc7
-rw-r--r--libstdc++-v3/testsuite/27_io/stringstream.cc13
-rw-r--r--libstdc++-v3/testsuite/config/default.exp2
92 files changed, 53 insertions, 381 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a88f124dd0d..d283b7ffbcd 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
+ * testsuite/config/default.exp: Update bugs email address.
+
2001-05-11 Richard Henderson <rth@redhat.com>
* libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
@@ -17,7 +22,6 @@
Change LDFLAGS to LIBS.
Consistently name procedures libstdc++-XXX.
* testsuite/libstdc++.tests/tests.exp: Use new procedure names.
- * testsuite/config/default.exp: Kill spaces.
2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
diff --git a/libstdc++-v3/testsuite/17_intro/header_ciso646.cc b/libstdc++-v3/testsuite/17_intro/header_ciso646.cc
index 30a8982fa39..29f786abe43 100644
--- a/libstdc++-v3/testsuite/17_intro/header_ciso646.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_ciso646.cc
@@ -125,11 +125,3 @@ int main(void)
return 0;
}
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_cstdio.cc b/libstdc++-v3/testsuite/17_intro/header_cstdio.cc
index 38d7cd565a3..383cc0a5293 100644
--- a/libstdc++-v3/testsuite/17_intro/header_cstdio.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_cstdio.cc
@@ -22,14 +22,9 @@
#include <cstdio>
-
int main(void)
{
// Make sure size_t is in namespace std
- std::size_t i = 5; // { dg-do compile }
+ std::size_t i = 5;
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc b/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc
index 5ce60cb05f3..32827cfbca0 100644
--- a/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc
@@ -32,7 +32,7 @@ void test01()
void test02()
{
// Make sure size_t is in namespace std
- std::size_t i = 5; // { dg-do compile }
+ std::size_t i = 5;
}
int main()
@@ -41,6 +41,3 @@ int main()
test02();
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_cstring.cc b/libstdc++-v3/testsuite/17_intro/header_cstring.cc
index 02d51eae697..ae8852a43e0 100644
--- a/libstdc++-v3/testsuite/17_intro/header_cstring.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_cstring.cc
@@ -26,11 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
- // { dg-do compile }
std::size_t i = std::strlen("tibet shop/san francisco (415) 982-0326");
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_ctime.cc b/libstdc++-v3/testsuite/17_intro/header_ctime.cc
index 98f48b7e879..03f8294cda6 100644
--- a/libstdc++-v3/testsuite/17_intro/header_ctime.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_ctime.cc
@@ -26,10 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
- std::size_t i = 5; // { dg-do compile }
+ std::size_t i = 5;
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_cwchar.cc b/libstdc++-v3/testsuite/17_intro/header_cwchar.cc
index 0b421ee1d2a..cdc91b2a893 100644
--- a/libstdc++-v3/testsuite/17_intro/header_cwchar.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_cwchar.cc
@@ -26,6 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
- std::size_t i = 5; // { dg-do compile }
+ std::size_t i = 5;
return 0;
}
diff --git a/libstdc++-v3/testsuite/17_intro/header_cwctype.cc b/libstdc++-v3/testsuite/17_intro/header_cwctype.cc
index e5db1b53756..8374a4602ca 100644
--- a/libstdc++-v3/testsuite/17_intro/header_cwctype.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_cwctype.cc
@@ -23,14 +23,10 @@
#if _GLIBCPP_USE_WCHAR_T
#include <cwctype>
// Make sure wint_t is in namespace std
- std::wint_t i = 5; // { dg-do compile }
+ std::wint_t i = 5;
#endif
int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_fstream.cc b/libstdc++-v3/testsuite/17_intro/header_fstream.cc
index 1163fd11944..9d510acbffc 100644
--- a/libstdc++-v3/testsuite/17_intro/header_fstream.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_fstream.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, fstream
-#include <fstream> // { dg-do compile }
+#include <fstream>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_iomanip.cc b/libstdc++-v3/testsuite/17_intro/header_iomanip.cc
index d9929f4d671..68067d9dfb8 100644
--- a/libstdc++-v3/testsuite/17_intro/header_iomanip.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_iomanip.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, iomanip
-#include <iomanip> // { dg-do compile }
+#include <iomanip>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_ios.cc b/libstdc++-v3/testsuite/17_intro/header_ios.cc
index facbecba65b..1f6c1aae004 100644
--- a/libstdc++-v3/testsuite/17_intro/header_ios.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_ios.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, ios
-#include <ios> // { dg-do compile }
+#include <ios>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc b/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc
index 695b832df55..4766e3596a3 100644
--- a/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, iosfwd
-#include <iosfwd> // { dg-do compile }
+#include <iosfwd>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_iostream.cc b/libstdc++-v3/testsuite/17_intro/header_iostream.cc
index 790846f188e..7067709cdff 100644
--- a/libstdc++-v3/testsuite/17_intro/header_iostream.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_iostream.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, iostream
-#include <iostream> // { dg-do compile }
+#include <iostream>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_istream.cc b/libstdc++-v3/testsuite/17_intro/header_istream.cc
index 72eb2243600..e22550cee29 100644
--- a/libstdc++-v3/testsuite/17_intro/header_istream.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_istream.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, istream
-#include <istream> // { dg-do compile }
+#include <istream>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_ostream.cc b/libstdc++-v3/testsuite/17_intro/header_ostream.cc
index d365105b78b..93ddc1944f2 100644
--- a/libstdc++-v3/testsuite/17_intro/header_ostream.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_ostream.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, ostream
-#include <ostream> // { dg-do compile }
+#include <ostream>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_sstream.cc b/libstdc++-v3/testsuite/17_intro/header_sstream.cc
index bdbf0c46197..2a76ff97dec 100644
--- a/libstdc++-v3/testsuite/17_intro/header_sstream.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_sstream.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, sstream
-#include <sstream> // { dg-do compile }
+#include <sstream>
#include <debug_assert.h>
@@ -28,7 +28,3 @@ int main(void)
{
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/17_intro/header_streambuf.cc b/libstdc++-v3/testsuite/17_intro/header_streambuf.cc
index 50234a65443..5eb39cf00db 100644
--- a/libstdc++-v3/testsuite/17_intro/header_streambuf.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_streambuf.cc
@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, streambuf
-#include <streambuf> // { dg-do compile }
+#include <streambuf>
#include <debug_assert.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers.cc b/libstdc++-v3/testsuite/17_intro/headers.cc
index 2ec4041dd10..eb930f1ff00 100644
--- a/libstdc++-v3/testsuite/17_intro/headers.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers.cc
@@ -80,4 +80,4 @@
#include <cwctype>
#endif
-int main() { } // { dg-do compile }
+int main() { return 0; }
diff --git a/libstdc++-v3/testsuite/17_intro/headers_c++.cc b/libstdc++-v3/testsuite/17_intro/headers_c++.cc
index d5c01a83d58..ad75bca5249 100644
--- a/libstdc++-v3/testsuite/17_intro/headers_c++.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers_c++.cc
@@ -67,4 +67,4 @@
#include <wctype.h>
#endif
-int main() { } // { dg-do compile }
+int main() { return 0; }
diff --git a/libstdc++-v3/testsuite/17_intro/headers_c.cc b/libstdc++-v3/testsuite/17_intro/headers_c.cc
index 406bc9802e4..5831887e448 100644
--- a/libstdc++-v3/testsuite/17_intro/headers_c.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers_c.cc
@@ -67,4 +67,4 @@
#include <cwctype>
#endif
-int main() { } // { dg-do compile }
+int main() { return 0; }
diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits.cc b/libstdc++-v3/testsuite/18_support/numeric_limits.cc
index fce32abb2b0..f6173751f7f 100644
--- a/libstdc++-v3/testsuite/18_support/numeric_limits.cc
+++ b/libstdc++-v3/testsuite/18_support/numeric_limits.cc
@@ -86,8 +86,3 @@ int main()
return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/append.cc b/libstdc++-v3/testsuite/21_strings/append.cc
index 07b170674a4..2333cc3dd87 100644
--- a/libstdc++-v3/testsuite/21_strings/append.cc
+++ b/libstdc++-v3/testsuite/21_strings/append.cc
@@ -160,9 +160,5 @@ bool test01(void)
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/c_strings.cc b/libstdc++-v3/testsuite/21_strings/c_strings.cc
index e8536b7d137..de0ad2571a5 100644
--- a/libstdc++-v3/testsuite/21_strings/c_strings.cc
+++ b/libstdc++-v3/testsuite/21_strings/c_strings.cc
@@ -89,7 +89,3 @@ int main()
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/capacity.cc b/libstdc++-v3/testsuite/21_strings/capacity.cc
index b93e6fe64c8..82202092a69 100644
--- a/libstdc++-v3/testsuite/21_strings/capacity.cc
+++ b/libstdc++-v3/testsuite/21_strings/capacity.cc
@@ -175,5 +175,3 @@ int main()
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/char_traits_requirements.cc b/libstdc++-v3/testsuite/21_strings/char_traits_requirements.cc
index 4682c72b688..f1e2080f1cd 100644
--- a/libstdc++-v3/testsuite/21_strings/char_traits_requirements.cc
+++ b/libstdc++-v3/testsuite/21_strings/char_traits_requirements.cc
@@ -200,9 +200,5 @@ int main()
#if _GLIBCPP_USE_WCHAR_T
test02();
#endif
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/compare.cc b/libstdc++-v3/testsuite/21_strings/compare.cc
index ba10e61f5cf..bf5b8daaeb9 100644
--- a/libstdc++-v3/testsuite/21_strings/compare.cc
+++ b/libstdc++-v3/testsuite/21_strings/compare.cc
@@ -135,9 +135,3 @@ main()
return 0;
}
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc b/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc
index f38c42df944..8a2647c9351 100644
--- a/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc
+++ b/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc
@@ -180,12 +180,5 @@ int main()
{
test01();
test02();
+ return 0;
}
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/element_access.cc b/libstdc++-v3/testsuite/21_strings/element_access.cc
index 34d63923a94..4deabda1b7b 100644
--- a/libstdc++-v3/testsuite/21_strings/element_access.cc
+++ b/libstdc++-v3/testsuite/21_strings/element_access.cc
@@ -89,12 +89,6 @@ bool test01(void)
int main()
{
-
-
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/find.cc b/libstdc++-v3/testsuite/21_strings/find.cc
index 8bafeb4ab10..88e6371e7a2 100644
--- a/libstdc++-v3/testsuite/21_strings/find.cc
+++ b/libstdc++-v3/testsuite/21_strings/find.cc
@@ -194,9 +194,5 @@ bool test01(void)
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/insert.cc b/libstdc++-v3/testsuite/21_strings/insert.cc
index da51000bd08..12af8e487fb 100644
--- a/libstdc++-v3/testsuite/21_strings/insert.cc
+++ b/libstdc++-v3/testsuite/21_strings/insert.cc
@@ -190,9 +190,5 @@ int test01(void)
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/inserters_extractors.cc b/libstdc++-v3/testsuite/21_strings/inserters_extractors.cc
index 559598d8e8a..261f572b94d 100644
--- a/libstdc++-v3/testsuite/21_strings/inserters_extractors.cc
+++ b/libstdc++-v3/testsuite/21_strings/inserters_extractors.cc
@@ -41,9 +41,9 @@ bool test01(void)
csize_type npos = std::string::npos;
csize_type csz01, csz02;
- const char str_lit01[] = "sailing grand traverse bay
- from Elk Rapids to the point reminds me of miles";
- const std::string str01(str_lit01);
+ // { dg-warning "string literals" "" { xfail *-*-* } 45 }
+ const std::string str01("sailing grand traverse bay
+ from Elk Rapids to the point reminds me of miles");
const std::string str02("sailing");
const std::string str03("grand");
const std::string str04("traverse");
@@ -124,7 +124,7 @@ bool test01(void)
getline(istrs02, str10);
VERIFY( istrs02.fail() );
VERIFY( istrs02.eof() );
- VERIFY( str10 == "\t from Elk Rapids to the point reminds me of miles" );
+ VERIFY( str10 =="\t from Elk Rapids to the point reminds me of miles" );
}
catch(std::exception& fail) {
VERIFY( false ); // shouldn't throw
@@ -323,10 +323,3 @@ int main()
test08();
return 0;
}
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/invariants.cc b/libstdc++-v3/testsuite/21_strings/invariants.cc
index 5a00281170f..9f77660b7d2 100644
--- a/libstdc++-v3/testsuite/21_strings/invariants.cc
+++ b/libstdc++-v3/testsuite/21_strings/invariants.cc
@@ -171,9 +171,5 @@ int main()
{
test01();
test02();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/nonmember.cc b/libstdc++-v3/testsuite/21_strings/nonmember.cc
index 61704fda6cc..fdc85d81e5f 100644
--- a/libstdc++-v3/testsuite/21_strings/nonmember.cc
+++ b/libstdc++-v3/testsuite/21_strings/nonmember.cc
@@ -293,12 +293,8 @@ template<class charT, class traits, class Allocator>
return 0;
}
-int main() {
+int main()
+{
test01();
+ return 0;
}
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/operations.cc b/libstdc++-v3/testsuite/21_strings/operations.cc
index 996d7d566ef..d837320b9f9 100644
--- a/libstdc++-v3/testsuite/21_strings/operations.cc
+++ b/libstdc++-v3/testsuite/21_strings/operations.cc
@@ -52,5 +52,5 @@ int test01(void)
int main()
{
test01();
+ return 0;
}
-
diff --git a/libstdc++-v3/testsuite/21_strings/replace.cc b/libstdc++-v3/testsuite/21_strings/replace.cc
index 2ad1ab61a65..2c211b16309 100644
--- a/libstdc++-v3/testsuite/21_strings/replace.cc
+++ b/libstdc++-v3/testsuite/21_strings/replace.cc
@@ -86,9 +86,5 @@ bool test01(void)
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/21_strings/rfind.cc b/libstdc++-v3/testsuite/21_strings/rfind.cc
index cf826dda52c..269816877de 100644
--- a/libstdc++-v3/testsuite/21_strings/rfind.cc
+++ b/libstdc++-v3/testsuite/21_strings/rfind.cc
@@ -121,4 +121,5 @@ int main()
test01();
test02();
test03();
+ return 0;
}
diff --git a/libstdc++-v3/testsuite/21_strings/substr.cc b/libstdc++-v3/testsuite/21_strings/substr.cc
index 5c643576276..ce42eb75b53 100644
--- a/libstdc++-v3/testsuite/21_strings/substr.cc
+++ b/libstdc++-v3/testsuite/21_strings/substr.cc
@@ -76,9 +76,5 @@ bool test01(void)
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_char_char.cc b/libstdc++-v3/testsuite/22_locale/codecvt_char_char.cc
index a86e7ff9ef8..2055e427b1e 100644
--- a/libstdc++-v3/testsuite/22_locale/codecvt_char_char.cc
+++ b/libstdc++-v3/testsuite/22_locale/codecvt_char_char.cc
@@ -85,6 +85,3 @@ int main ()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_unicode_char.cc b/libstdc++-v3/testsuite/22_locale/codecvt_unicode_char.cc
index 86fbc69376a..2233bd2344f 100644
--- a/libstdc++-v3/testsuite/22_locale/codecvt_unicode_char.cc
+++ b/libstdc++-v3/testsuite/22_locale/codecvt_unicode_char.cc
@@ -237,6 +237,3 @@ int main ()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_unicode_wchar_t.cc b/libstdc++-v3/testsuite/22_locale/codecvt_unicode_wchar_t.cc
index 606c7168b57..694f414b413 100644
--- a/libstdc++-v3/testsuite/22_locale/codecvt_unicode_wchar_t.cc
+++ b/libstdc++-v3/testsuite/22_locale/codecvt_unicode_wchar_t.cc
@@ -130,6 +130,3 @@ int main ()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_wchar_t_char.cc b/libstdc++-v3/testsuite/22_locale/codecvt_wchar_t_char.cc
index 8ea65743a1f..e9f98a8a1f4 100644
--- a/libstdc++-v3/testsuite/22_locale/codecvt_wchar_t_char.cc
+++ b/libstdc++-v3/testsuite/22_locale/codecvt_wchar_t_char.cc
@@ -121,6 +121,3 @@ int main ()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/ctype_char_members.cc b/libstdc++-v3/testsuite/22_locale/ctype_char_members.cc
index 93eedd171ce..ebea4031e3b 100644
--- a/libstdc++-v3/testsuite/22_locale/ctype_char_members.cc
+++ b/libstdc++-v3/testsuite/22_locale/ctype_char_members.cc
@@ -172,5 +172,3 @@ int main() {
test01();
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/ctype_wchar_t_members.cc b/libstdc++-v3/testsuite/22_locale/ctype_wchar_t_members.cc
index f4a104e25ce..ccf784919f8 100644
--- a/libstdc++-v3/testsuite/22_locale/ctype_wchar_t_members.cc
+++ b/libstdc++-v3/testsuite/22_locale/ctype_wchar_t_members.cc
@@ -105,5 +105,3 @@ int main() {
#endif /* !defined(_GLIBCPP_USE_WCHAR_T) */
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/facet.cc b/libstdc++-v3/testsuite/22_locale/facet.cc
index 1f1a42fa914..170b5ff68ad 100644
--- a/libstdc++-v3/testsuite/22_locale/facet.cc
+++ b/libstdc++-v3/testsuite/22_locale/facet.cc
@@ -239,11 +239,3 @@ int main ()
return 0;
}
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/members.cc b/libstdc++-v3/testsuite/22_locale/members.cc
index c474a17ee87..f7395d37631 100644
--- a/libstdc++-v3/testsuite/22_locale/members.cc
+++ b/libstdc++-v3/testsuite/22_locale/members.cc
@@ -135,6 +135,3 @@ int main()
test02();
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/numpunct_byname.cc b/libstdc++-v3/testsuite/22_locale/numpunct_byname.cc
index 444f364a2e5..26bde347c96 100644
--- a/libstdc++-v3/testsuite/22_locale/numpunct_byname.cc
+++ b/libstdc++-v3/testsuite/22_locale/numpunct_byname.cc
@@ -68,6 +68,3 @@ int main()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/22_locale/numpunct_char_members.cc b/libstdc++-v3/testsuite/22_locale/numpunct_char_members.cc
index 64c329fee19..77d716fc05c 100644
--- a/libstdc++-v3/testsuite/22_locale/numpunct_char_members.cc
+++ b/libstdc++-v3/testsuite/22_locale/numpunct_char_members.cc
@@ -88,4 +88,3 @@ int main()
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/23_containers/multiset.cc b/libstdc++-v3/testsuite/23_containers/multiset.cc
index 5e9c195c84c..90cd1c6d5df 100644
--- a/libstdc++-v3/testsuite/23_containers/multiset.cc
+++ b/libstdc++-v3/testsuite/23_containers/multiset.cc
@@ -70,4 +70,3 @@ int main ()
69 9
69 4
*/
-
diff --git a/libstdc++-v3/testsuite/23_containers/vector_ctor.cc b/libstdc++-v3/testsuite/23_containers/vector_ctor.cc
index 10a244f533b..6e97159281b 100644
--- a/libstdc++-v3/testsuite/23_containers/vector_ctor.cc
+++ b/libstdc++-v3/testsuite/23_containers/vector_ctor.cc
@@ -64,6 +64,3 @@ int main()
test02();
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/23_containers/vector_element_access.cc b/libstdc++-v3/testsuite/23_containers/vector_element_access.cc
index 016310b9d3b..22ec0cf627f 100644
--- a/libstdc++-v3/testsuite/23_containers/vector_element_access.cc
+++ b/libstdc++-v3/testsuite/23_containers/vector_element_access.cc
@@ -66,6 +66,3 @@ int main()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/23_containers/vector_modifiers.cc b/libstdc++-v3/testsuite/23_containers/vector_modifiers.cc
index f1ba0229d61..7ca7cf6390e 100644
--- a/libstdc++-v3/testsuite/23_containers/vector_modifiers.cc
+++ b/libstdc++-v3/testsuite/23_containers/vector_modifiers.cc
@@ -63,7 +63,3 @@ int main()
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator.cc b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator.cc
index 8325c97fa3b..d3fb0b21536 100644
--- a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator.cc
+++ b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator.cc
@@ -158,5 +158,3 @@ int main()
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/24_iterators/iterator.cc b/libstdc++-v3/testsuite/24_iterators/iterator.cc
index 4930f149a0b..b11da0c653a 100644
--- a/libstdc++-v3/testsuite/24_iterators/iterator.cc
+++ b/libstdc++-v3/testsuite/24_iterators/iterator.cc
@@ -594,6 +594,5 @@ main(int argc, char **argv)
assert (failures == 0);
#endif
- return failures ? 1 : 0;
+ return 0;
}
-
diff --git a/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc b/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc
index eec7f980577..f9f07a29374 100644
--- a/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc
+++ b/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc
@@ -96,8 +96,3 @@ int main()
return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
index 714d4557f5c..cb9e8b5e4e3 100644
--- a/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
@@ -43,6 +43,3 @@ int main()
{
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/25_algorithms/min_max.cc b/libstdc++-v3/testsuite/25_algorithms/min_max.cc
index 04cd6302a34..a60cd58b097 100644
--- a/libstdc++-v3/testsuite/25_algorithms/min_max.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/min_max.cc
@@ -44,6 +44,3 @@ int main()
test01();
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/26_numerics/binary_closure.cc b/libstdc++-v3/testsuite/26_numerics/binary_closure.cc
index f670d4ac3c8..7dbcfbd5228 100644
--- a/libstdc++-v3/testsuite/26_numerics/binary_closure.cc
+++ b/libstdc++-v3/testsuite/26_numerics/binary_closure.cc
@@ -33,4 +33,5 @@ int main()
d = (a + 2.0* b );
std::cout << "d[4] = " << d[4] << std::endl;
+ return 0;
}
diff --git a/libstdc++-v3/testsuite/26_numerics/buggy_complex.cc b/libstdc++-v3/testsuite/26_numerics/buggy_complex.cc
index ebe8e98bdb8..37930fc5b0b 100644
--- a/libstdc++-v3/testsuite/26_numerics/buggy_complex.cc
+++ b/libstdc++-v3/testsuite/26_numerics/buggy_complex.cc
@@ -34,4 +34,3 @@ int main()
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/26_numerics/c_math.cc b/libstdc++-v3/testsuite/26_numerics/c_math.cc
index 119c0d37f0a..df19b02e65b 100644
--- a/libstdc++-v3/testsuite/26_numerics/c_math.cc
+++ b/libstdc++-v3/testsuite/26_numerics/c_math.cc
@@ -69,4 +69,3 @@ main()
test04();
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc b/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc
index e195651160f..a9c36e8fd35 100644
--- a/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc
+++ b/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc
@@ -96,4 +96,3 @@ main()
testall<long double>();
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/26_numerics/valarray.cc b/libstdc++-v3/testsuite/26_numerics/valarray.cc
index 8702198ca35..f2348f018ab 100644
--- a/libstdc++-v3/testsuite/26_numerics/valarray.cc
+++ b/libstdc++-v3/testsuite/26_numerics/valarray.cc
@@ -41,6 +41,3 @@ int main()
return 0;
}
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/filebuf.cc b/libstdc++-v3/testsuite/27_io/filebuf.cc
index d31614c0213..4dc4acc94eb 100644
--- a/libstdc++-v3/testsuite/27_io/filebuf.cc
+++ b/libstdc++-v3/testsuite/27_io/filebuf.cc
@@ -586,13 +586,3 @@ int main()
// more surf!!!
-
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/filebuf_members.cc b/libstdc++-v3/testsuite/27_io/filebuf_members.cc
index 2e212329f57..59d6ea13acd 100644
--- a/libstdc++-v3/testsuite/27_io/filebuf_members.cc
+++ b/libstdc++-v3/testsuite/27_io/filebuf_members.cc
@@ -85,7 +85,3 @@ main()
test_01();
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/fpos.cc b/libstdc++-v3/testsuite/27_io/fpos.cc
index bfbd8cae96e..a5427fda1f6 100644
--- a/libstdc++-v3/testsuite/27_io/fpos.cc
+++ b/libstdc++-v3/testsuite/27_io/fpos.cc
@@ -171,7 +171,3 @@ int main() {
test03();
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ifstream_members.cc b/libstdc++-v3/testsuite/27_io/ifstream_members.cc
index 3fb7a6d1156..6a88ff48989 100644
--- a/libstdc++-v3/testsuite/27_io/ifstream_members.cc
+++ b/libstdc++-v3/testsuite/27_io/ifstream_members.cc
@@ -78,4 +78,5 @@ int main()
{
test00();
test01();
+ return 0;
}
diff --git a/libstdc++-v3/testsuite/27_io/ios_base_callbacks.cc b/libstdc++-v3/testsuite/27_io/ios_base_callbacks.cc
index 298574982db..236e9eb6715 100644
--- a/libstdc++-v3/testsuite/27_io/ios_base_callbacks.cc
+++ b/libstdc++-v3/testsuite/27_io/ios_base_callbacks.cc
@@ -66,7 +66,3 @@ int main(void)
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ios_base_members_static.cc b/libstdc++-v3/testsuite/27_io/ios_base_members_static.cc
index ab6d48e26a2..0a30506868b 100644
--- a/libstdc++-v3/testsuite/27_io/ios_base_members_static.cc
+++ b/libstdc++-v3/testsuite/27_io/ios_base_members_static.cc
@@ -83,5 +83,3 @@ int main(void)
test02();
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ios_base_storage.cc b/libstdc++-v3/testsuite/27_io/ios_base_storage.cc
index c116383dc8e..7a86c01a8ae 100644
--- a/libstdc++-v3/testsuite/27_io/ios_base_storage.cc
+++ b/libstdc++-v3/testsuite/27_io/ios_base_storage.cc
@@ -48,7 +48,3 @@ int main(void)
return 0;
}
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ios_ctor.cc b/libstdc++-v3/testsuite/27_io/ios_ctor.cc
index acebb87fe93..10fd9bb8dc0 100644
--- a/libstdc++-v3/testsuite/27_io/ios_ctor.cc
+++ b/libstdc++-v3/testsuite/27_io/ios_ctor.cc
@@ -89,4 +89,3 @@ int main() {
test01();
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/27_io/ios_members.cc b/libstdc++-v3/testsuite/27_io/ios_members.cc
index b096d42cf4e..a7ac3e5ac54 100644
--- a/libstdc++-v3/testsuite/27_io/ios_members.cc
+++ b/libstdc++-v3/testsuite/27_io/ios_members.cc
@@ -146,5 +146,3 @@ int main() {
test02();
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream.cc b/libstdc++-v3/testsuite/27_io/istream.cc
index 0eaa3e0bb8d..c43aebdeb23 100644
--- a/libstdc++-v3/testsuite/27_io/istream.cc
+++ b/libstdc++-v3/testsuite/27_io/istream.cc
@@ -55,5 +55,3 @@ namespace test {
int main() {
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_extractor_arith.cc b/libstdc++-v3/testsuite/27_io/istream_extractor_arith.cc
index 635e1711ce5..f0d386c4c58 100644
--- a/libstdc++-v3/testsuite/27_io/istream_extractor_arith.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_extractor_arith.cc
@@ -529,21 +529,4 @@ int main()
return 0;
}
-
-
-
-
// paul miller was right on with riddim warfare!
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_extractor_char.cc b/libstdc++-v3/testsuite/27_io/istream_extractor_char.cc
index f70d4fb9492..d488c146f67 100644
--- a/libstdc++-v3/testsuite/27_io/istream_extractor_char.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_extractor_char.cc
@@ -227,4 +227,3 @@ int main()
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_extractor_other.cc b/libstdc++-v3/testsuite/27_io/istream_extractor_other.cc
index 4925c297c12..01ae50d5d6c 100644
--- a/libstdc++-v3/testsuite/27_io/istream_extractor_other.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_extractor_other.cc
@@ -206,8 +206,3 @@ int main()
test03();
return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_manip.cc b/libstdc++-v3/testsuite/27_io/istream_manip.cc
index 68f83ab4b5f..661e075cf09 100644
--- a/libstdc++-v3/testsuite/27_io/istream_manip.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_manip.cc
@@ -83,9 +83,5 @@ bool test01(void)
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_seeks.cc b/libstdc++-v3/testsuite/27_io/istream_seeks.cc
index 5a3931475a3..7b3b8910f03 100644
--- a/libstdc++-v3/testsuite/27_io/istream_seeks.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_seeks.cc
@@ -293,11 +293,3 @@ int main()
test05();
return 0;
}
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_sentry.cc b/libstdc++-v3/testsuite/27_io/istream_sentry.cc
index 4b5634d7078..2fa6a19fce0 100644
--- a/libstdc++-v3/testsuite/27_io/istream_sentry.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_sentry.cc
@@ -85,16 +85,3 @@ int main()
test02();
return 0;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istream_unformatted.cc b/libstdc++-v3/testsuite/27_io/istream_unformatted.cc
index c57065cc57d..fd88b9c56e6 100644
--- a/libstdc++-v3/testsuite/27_io/istream_unformatted.cc
+++ b/libstdc++-v3/testsuite/27_io/istream_unformatted.cc
@@ -142,6 +142,7 @@ test02()
typedef std::char_traits<char> traits_type;
bool test = true;
+ // { dg-warning "string literals" "" { xfail *-*-* } 146 }
const char str_lit01[] = " sun*ra
and his myth science arkestra present
angles and demons @ play
@@ -200,6 +201,7 @@ test02()
VERIFY( is_04.gcount() == 64 );
VERIFY( state1 != state2 );
VERIFY( state2 == statefail );
+ // { dg-warning "string literals" "" { xfail *-*-* } 205 }
VERIFY( !traits_type::compare(" and his myth science arkestra presen", carray1, 65) );
is_04.clear();
@@ -232,6 +234,7 @@ test03()
typedef std::char_traits<char> traits_type;
bool test = true;
+ // { dg-warning "string literals" "" { xfail *-*-* } 238 }
const char str_lit01[] = " sun*ra
& his arkestra, featuring john gilmore:
jazz in silhouette: images and forecasts of tomorrow";
@@ -357,6 +360,7 @@ test04()
int
test05()
{
+ // { dg-warning "string literals" "" { xfail *-*-* } 364 }
const char* charray = "
a
aa
@@ -491,12 +495,3 @@ main()
return 0;
}
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/istringstream_members.cc b/libstdc++-v3/testsuite/27_io/istringstream_members.cc
index e11b6ab5fff..a803e3b0915 100644
--- a/libstdc++-v3/testsuite/27_io/istringstream_members.cc
+++ b/libstdc++-v3/testsuite/27_io/istringstream_members.cc
@@ -80,5 +80,3 @@ int main()
test01();
return 0;
}
-
-
diff --git a/libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc b/libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc
index a52e1384e46..630be99685b 100644
--- a/libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc
+++ b/libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc
@@ -122,4 +122,3 @@ main()
// test03();
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/27_io/ofstream_members.cc b/libstdc++-v3/testsuite/27_io/ofstream_members.cc
index d965b3efbfc..744036f0d7a 100644
--- a/libstdc++-v3/testsuite/27_io/ofstream_members.cc
+++ b/libstdc++-v3/testsuite/27_io/ofstream_members.cc
@@ -78,4 +78,5 @@ int main()
{
test00();
test01();
+ return 0;
}
diff --git a/libstdc++-v3/testsuite/27_io/ostream.cc b/libstdc++-v3/testsuite/27_io/ostream.cc
index 33cc3587644..df77421aeaa 100644
--- a/libstdc++-v3/testsuite/27_io/ostream.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream.cc
@@ -46,4 +46,3 @@ namespace test {
int main() {
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc b/libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc
index f503ad37f61..1329cf721cd 100644
--- a/libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc
@@ -318,13 +318,3 @@ main()
#endif
return 0;
}
-
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc b/libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc
index 0c7f18915fc..3270f80eda4 100644
--- a/libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc
@@ -266,4 +266,3 @@ int main()
test06();
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc b/libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc
index ec3a028e82f..6b9c1c0aa45 100644
--- a/libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc
@@ -143,4 +143,3 @@ main()
return 0;
}
-
diff --git a/libstdc++-v3/testsuite/27_io/ostream_manip.cc b/libstdc++-v3/testsuite/27_io/ostream_manip.cc
index ec019e7673d..e89cc666735 100644
--- a/libstdc++-v3/testsuite/27_io/ostream_manip.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream_manip.cc
@@ -121,9 +121,5 @@ bool test02()
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ostream_seeks.cc b/libstdc++-v3/testsuite/27_io/ostream_seeks.cc
index df927562a2b..52c28604004 100644
--- a/libstdc++-v3/testsuite/27_io/ostream_seeks.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream_seeks.cc
@@ -292,11 +292,3 @@ int main()
// test05();
return 0;
}
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/ostream_unformatted.cc b/libstdc++-v3/testsuite/27_io/ostream_unformatted.cc
index 657aa79f372..b2ba70ec86d 100644
--- a/libstdc++-v3/testsuite/27_io/ostream_unformatted.cc
+++ b/libstdc++-v3/testsuite/27_io/ostream_unformatted.cc
@@ -50,4 +50,5 @@ void test01()
int main()
{
test01();
+ return 0;
}
diff --git a/libstdc++-v3/testsuite/27_io/streambuf.cc b/libstdc++-v3/testsuite/27_io/streambuf.cc
index 30a449979c8..038c12c9502 100644
--- a/libstdc++-v3/testsuite/27_io/streambuf.cc
+++ b/libstdc++-v3/testsuite/27_io/streambuf.cc
@@ -347,16 +347,3 @@ int main()
test05();
return 0;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/stringbuf.cc b/libstdc++-v3/testsuite/27_io/stringbuf.cc
index 556b0c09303..da571c3cbc3 100644
--- a/libstdc++-v3/testsuite/27_io/stringbuf.cc
+++ b/libstdc++-v3/testsuite/27_io/stringbuf.cc
@@ -441,10 +441,3 @@ int main() {
// more candy!!!
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/27_io/stringstream.cc b/libstdc++-v3/testsuite/27_io/stringstream.cc
index 2a8f97ea3a1..ed3ed83073c 100644
--- a/libstdc++-v3/testsuite/27_io/stringstream.cc
+++ b/libstdc++-v3/testsuite/27_io/stringstream.cc
@@ -28,7 +28,6 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
-
#include <vector>
#include <string>
#include <sstream>
@@ -49,6 +48,7 @@ test01()
VERIFY( len == 0 );
// Full string sanity check.
+ // { dg-warning "string literals" "" { xfail *-*-* } 52 }
std::string str02("these golden days, i spend waiting for you:\n
Betty Carter on Verve with I'm Yours and You're Mine.");
__i_start = str02.begin();
@@ -159,14 +159,3 @@ main()
return 0;
}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libstdc++-v3/testsuite/config/default.exp b/libstdc++-v3/testsuite/config/default.exp
index 3ae770e782d..dbe227be7a6 100644
--- a/libstdc++-v3/testsuite/config/default.exp
+++ b/libstdc++-v3/testsuite/config/default.exp
@@ -15,7 +15,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Please email any bugs, comments, and/or additions to this file to:
-# bug-gcc@prep.ai.mit.edu
+# libstdc++@gcc.gnu.org
load_lib "standard.exp"
OpenPOWER on IntegriCloud