+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
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>
return 0;
}
-
-
-
-
-
-
-
-
#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;
}
-
-
-
-
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()
test02();
return 0;
}
-
-
-
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;
}
-
-
-
-
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;
}
-
-
-
-
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;
}
#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;
}
-
-
-
-
// 17.4.1.2 Headers, fstream
-#include <fstream> // { dg-do compile }
+#include <fstream>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, iomanip
-#include <iomanip> // { dg-do compile }
+#include <iomanip>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, ios
-#include <ios> // { dg-do compile }
+#include <ios>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, iosfwd
-#include <iosfwd> // { dg-do compile }
+#include <iosfwd>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, iostream
-#include <iostream> // { dg-do compile }
+#include <iostream>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, istream
-#include <istream> // { dg-do compile }
+#include <istream>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, ostream
-#include <ostream> // { dg-do compile }
+#include <ostream>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, sstream
-#include <sstream> // { dg-do compile }
+#include <sstream>
#include <debug_assert.h>
{
return 0;
}
-
-
-
-
// 17.4.1.2 Headers, streambuf
-#include <streambuf> // { dg-do compile }
+#include <streambuf>
#include <debug_assert.h>
#include <cwctype>
#endif
-int main() { } // { dg-do compile }
+int main() { return 0; }
#include <wctype.h>
#endif
-int main() { } // { dg-do compile }
+int main() { return 0; }
#include <cwctype>
#endif
-int main() { } // { dg-do compile }
+int main() { return 0; }
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
#if _GLIBCPP_USE_WCHAR_T
test02();
#endif
+ return 0;
}
-
-
-
-
-
{
test01();
test02();
+ return 0;
}
-
-
-
-
-
-
-
-
int main()
{
-
-
test01();
+ return 0;
}
-
-
-
-
-
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
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");
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
test08();
return 0;
}
-
-
-
-
-
-
-
{
test01();
test02();
+ return 0;
}
-
-
-
-
-
return 0;
}
-int main() {
+int main()
+{
test01();
+ return 0;
}
-
-
-
-
-
-
int main()
{
test01();
+ return 0;
}
-
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
test01();
test02();
test03();
+ return 0;
}
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
test01();
return 0;
}
-
-
#endif /* !defined(_GLIBCPP_USE_WCHAR_T) */
return 0;
}
-
-
return 0;
}
-
-
-
-
-
-
-
-
test02();
return 0;
}
-
-
-
test02();
return 0;
}
-
-
-
assert (failures == 0);
#endif
- return failures ? 1 : 0;
+ return 0;
}
-
test01();
return 0;
}
-
-
-
d = (a + 2.0* b );
std::cout << "d[4] = " << d[4] << std::endl;
+ return 0;
}
testall<long double>();
return 0;
}
-
// more surf!!!
-
-
-
-
-
-
-
-
-
-
test_01();
return 0;
}
-
-
-
-
test03();
return 0;
}
-
-
-
-
{
test00();
test01();
+ return 0;
}
test02();
return 0;
}
-
-
test02();
return 0;
}
-
-
int main() {
return 0;
}
-
-
return 0;
}
-
-
-
-
// paul miller was right on with riddim warfare!
-
-
-
-
-
-
-
-
-
-
-
-
-
test03();
return 0;
}
-
-
-
-
-
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
test05();
return 0;
}
-
-
-
-
-
-
-
-
test02();
return 0;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
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
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();
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";
int
test05()
{
+ // { dg-warning "string literals" "" { xfail *-*-* } 364 }
const char* charray = "
a
aa
return 0;
}
-
-
-
-
-
-
-
-
-
test01();
return 0;
}
-
-
// test03();
return 0;
}
-
{
test00();
test01();
+ return 0;
}
int main() {
return 0;
}
-
#endif
return 0;
}
-
-
-
-
-
-
-
-
-
-
int main()
{
test01();
+ return 0;
}
-
-
-
-
-
// test05();
return 0;
}
-
-
-
-
-
-
-
-
int main()
{
test01();
+ return 0;
}
test05();
return 0;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
// more candy!!!
-
-
-
-
-
-
-
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
-
#include <vector>
#include <string>
#include <sstream>
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();
return 0;
}
-
-
-
-
-
-
-
-
-
-
-
# 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"