diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-08 10:44:37 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-08 10:44:37 +0000 |
commit | 31afe052d8e7cf5456e78ee66537ca70e313e9c2 (patch) | |
tree | 91b01c3debe9ccf6a90fe450022a92c37c9e30ff /libstdc++-v3 | |
parent | 21672b0be04d4a661f0c9d5bb3b4f3afc285f8df (diff) | |
download | gcc-31afe052d8e7cf5456e78ee66537ca70e313e9c2.tar.gz |
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124540 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc | 74 |
2 files changed, 78 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d5bb6afeda3..cc9845dcc8f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2007-05-08 Benjamin Kosnik <bkoz@redhat.com> + + * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New. + 2007-05-08 Jason Merrill <jason@redhat.com> * libsupc++/cxxabi-internal.h: Remove, to be replaced by... diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc new file mode 100644 index 00000000000..afa75f7f7d5 --- /dev/null +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc @@ -0,0 +1,74 @@ +// { dg-options "-std=gnu++0x" } +// { dg-do compile } + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// 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 +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +#include <cmath> + +namespace gnu +{ + // C++0x changes from TR1. + using std::assoc_laguerre; + using std::assoc_legendre; + using std::beta; + using std::comp_ellint_1; + using std::comp_ellint_2; + using std::comp_ellint_3; + using std::conf_hyperg; + using std::cyl_bessel_i; + using std::cyl_bessel_j; + using std::cyl_bessel_k; + using std::cyl_neumann; + using std::ellint_1; + using std::ellint_2; + using std::ellint_3; + using std::expint; + using std::hermite; + using std::hyperg; + using std::laguerre; + using std::legendre; + using std::riemann_zeta; + using std::sph_bessel; + using std::sph_legendre; + using std::sph_neumann; +} + +// { dg-error "has not been declared" "" { xfail *-*-* } 27 } +// { dg-error "has not been declared" "" { xfail *-*-* } 28 } +// { dg-error "has not been declared" "" { xfail *-*-* } 29 } +// { dg-error "has not been declared" "" { xfail *-*-* } 30 } +// { dg-error "has not been declared" "" { xfail *-*-* } 31 } +// { dg-error "has not been declared" "" { xfail *-*-* } 32 } +// { dg-error "has not been declared" "" { xfail *-*-* } 33 } +// { dg-error "has not been declared" "" { xfail *-*-* } 34 } +// { dg-error "has not been declared" "" { xfail *-*-* } 35 } +// { dg-error "has not been declared" "" { xfail *-*-* } 36 } +// { dg-error "has not been declared" "" { xfail *-*-* } 37 } +// { dg-error "has not been declared" "" { xfail *-*-* } 38 } +// { dg-error "has not been declared" "" { xfail *-*-* } 39 } +// { dg-error "has not been declared" "" { xfail *-*-* } 40 } +// { dg-error "has not been declared" "" { xfail *-*-* } 41 } +// { dg-error "has not been declared" "" { xfail *-*-* } 42 } +// { dg-error "has not been declared" "" { xfail *-*-* } 43 } +// { dg-error "has not been declared" "" { xfail *-*-* } 44 } +// { dg-error "has not been declared" "" { xfail *-*-* } 45 } +// { dg-error "has not been declared" "" { xfail *-*-* } 46 } +// { dg-error "has not been declared" "" { xfail *-*-* } 47 } +// { dg-error "has not been declared" "" { xfail *-*-* } 48 } +// { dg-error "has not been declared" "" { xfail *-*-* } 49 } |