char_traits.cc: Move to ...
2001-02-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/21_strings/char_traits.cc: Move to ... * testsuite/21_strings/char_traits_requirements.cc: ..here. * testsuite/21_strings/char_traits-int_type.cc: Move to ... * testsuite/21_strings/char_traits_typedefs.cc: ..here. From-SVN: r39784
This commit is contained in:
parent
4031ed6598
commit
b8f971fc25
|
@ -1,3 +1,10 @@
|
||||||
|
2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
|
* testsuite/21_strings/char_traits.cc: Move to ...
|
||||||
|
* testsuite/21_strings/char_traits_requirements.cc: ..here.
|
||||||
|
* testsuite/21_strings/char_traits-int_type.cc: Move to ...
|
||||||
|
* testsuite/21_strings/char_traits_typedefs.cc: ..here.
|
||||||
|
|
||||||
2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
|
2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
|
||||||
|
|
||||||
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
|
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// 1999-06-03 bkoz
|
// 1999-06-03 bkoz
|
||||||
|
|
||||||
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// 21.1 Characher traits
|
// 21.1.1 Characher traits requirements
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <debug_assert.h>
|
#include <debug_assert.h>
|
|
@ -1,7 +1,7 @@
|
||||||
// 2001-02-11 gdr
|
// 2001-02-11 gdr
|
||||||
// Origin: Craig Rodrigues <rodrigc@mediaone.net>
|
// Origin: Craig Rodrigues <rodrigc@mediaone.net>
|
||||||
|
|
||||||
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -19,13 +19,14 @@
|
||||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// 21.1.3.1/2: char_traits<char>::int_type == int
|
// 21.1.2: char_traits typedefs
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
// dg-options -ansi -pedantic-errors
|
// 21.1.3: char_traits<char>::int_type == int
|
||||||
|
// dg-options -ansi -pedantic-err
|
||||||
std::char_traits<char>::int_type* p = 0;
|
std::char_traits<char>::int_type* p = 0;
|
||||||
int* q = p; // dg-do compile
|
int* q = p; // dg-do compile
|
||||||
|
|
Loading…
Reference in New Issue