Commit 04d930e6 by Benjamin Kosnik Committed by Benjamin Kosnik

*.cc: Remove spaces, make sure testcases return zero.


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.

From-SVN: r41997
parent 90e0c410
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>
......
......@@ -125,11 +125,3 @@ int main(void)
return 0;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......@@ -20,7 +20,7 @@
// 17.4.1.2 Headers, streambuf
#include <streambuf> // { dg-do compile }
#include <streambuf>
#include <debug_assert.h>
......
......@@ -80,4 +80,4 @@
#include <cwctype>
#endif
int main() { } // { dg-do compile }
int main() { return 0; }
......@@ -67,4 +67,4 @@
#include <wctype.h>
#endif
int main() { } // { dg-do compile }
int main() { return 0; }
......@@ -67,4 +67,4 @@
#include <cwctype>
#endif
int main() { } // { dg-do compile }
int main() { return 0; }
......@@ -160,9 +160,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}
......@@ -89,7 +89,3 @@ int main()
return 0;
}
......@@ -175,5 +175,3 @@ int main()
return 0;
}
......@@ -200,9 +200,5 @@ int main()
#if _GLIBCPP_USE_WCHAR_T
test02();
#endif
return 0;
}
......@@ -135,9 +135,3 @@ main()
return 0;
}
......@@ -180,12 +180,5 @@ int main()
{
test01();
test02();
return 0;
}
......@@ -89,12 +89,6 @@ bool test01(void)
int main()
{
test01();
return 0;
}
......@@ -194,9 +194,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}
......@@ -190,9 +190,5 @@ int test01(void)
int main()
{
test01();
return 0;
}
......@@ -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;
}
......@@ -171,9 +171,5 @@ int main()
{
test01();
test02();
return 0;
}
......@@ -293,12 +293,8 @@ template<class charT, class traits, class Allocator>
return 0;
}
int main() {
int main()
{
test01();
return 0;
}
......@@ -52,5 +52,5 @@ int test01(void)
int main()
{
test01();
return 0;
}
......@@ -86,9 +86,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}
......@@ -121,4 +121,5 @@ int main()
test01();
test02();
test03();
return 0;
}
......@@ -76,9 +76,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}
......@@ -172,5 +172,3 @@ int main() {
test01();
return 0;
}
......@@ -105,5 +105,3 @@ int main() {
#endif /* !defined(_GLIBCPP_USE_WCHAR_T) */
return 0;
}
......@@ -239,11 +239,3 @@ int main ()
return 0;
}
......@@ -135,6 +135,3 @@ int main()
test02();
return 0;
}
......@@ -70,4 +70,3 @@ int main ()
69 9
69 4
*/
......@@ -64,6 +64,3 @@ int main()
test02();
return 0;
}
......@@ -594,6 +594,5 @@ main(int argc, char **argv)
assert (failures == 0);
#endif
return failures ? 1 : 0;
return 0;
}
......@@ -44,6 +44,3 @@ int main()
test01();
return 0;
}
......@@ -33,4 +33,5 @@ int main()
d = (a + 2.0* b );
std::cout << "d[4] = " << d[4] << std::endl;
return 0;
}
......@@ -69,4 +69,3 @@ main()
test04();
return 0;
}
......@@ -96,4 +96,3 @@ main()
testall<long double>();
return 0;
}
......@@ -41,6 +41,3 @@ int main()
return 0;
}
......@@ -586,13 +586,3 @@ int main()
// more surf!!!
......@@ -85,7 +85,3 @@ main()
test_01();
return 0;
}
......@@ -171,7 +171,3 @@ int main() {
test03();
return 0;
}
......@@ -78,4 +78,5 @@ int main()
{
test00();
test01();
return 0;
}
......@@ -66,7 +66,3 @@ int main(void)
return 0;
}
......@@ -83,5 +83,3 @@ int main(void)
test02();
return 0;
}
......@@ -48,7 +48,3 @@ int main(void)
return 0;
}
......@@ -89,4 +89,3 @@ int main() {
test01();
return 0;
}
......@@ -146,5 +146,3 @@ int main() {
test02();
return 0;
}
......@@ -55,5 +55,3 @@ namespace test {
int main() {
return 0;
}
......@@ -529,21 +529,4 @@ int main()
return 0;
}
// paul miller was right on with riddim warfare!
......@@ -206,8 +206,3 @@ int main()
test03();
return 0;
}
......@@ -83,9 +83,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}
......@@ -293,11 +293,3 @@ int main()
test05();
return 0;
}
......@@ -85,16 +85,3 @@ int main()
test02();
return 0;
}
......@@ -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;
}
......@@ -80,5 +80,3 @@ int main()
test01();
return 0;
}
......@@ -122,4 +122,3 @@ main()
// test03();
return 0;
}
......@@ -78,4 +78,5 @@ int main()
{
test00();
test01();
return 0;
}
......@@ -46,4 +46,3 @@ namespace test {
int main() {
return 0;
}
......@@ -318,13 +318,3 @@ main()
#endif
return 0;
}
......@@ -266,4 +266,3 @@ int main()
test06();
return 0;
}
......@@ -121,9 +121,5 @@ bool test02()
int main()
{
test01();
return 0;
}
......@@ -292,11 +292,3 @@ int main()
// test05();
return 0;
}
......@@ -50,4 +50,5 @@ void test01()
int main()
{
test01();
return 0;
}
......@@ -347,16 +347,3 @@ int main()
test05();
return 0;
}
......@@ -441,10 +441,3 @@ int main() {
// more candy!!!
......@@ -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;
}
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment