| 1 | // { dg-do compile } |
| 2 | |
| 3 | // Copyright (C) 2007-2025 Free Software Foundation, Inc. |
| 4 | // |
| 5 | // This file is part of the GNU ISO C++ Library. This library is free |
| 6 | // software; you can redistribute it and/or modify it under the |
| 7 | // terms of the GNU General Public License as published by the |
| 8 | // Free Software Foundation; either version 3, or (at your option) |
| 9 | // any later version. |
| 10 | |
| 11 | // This library is distributed in the hope that it will be useful, |
| 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | // GNU General Public License for more details. |
| 15 | |
| 16 | // You should have received a copy of the GNU General Public License along |
| 17 | // with this library; see the file COPYING3. If not see |
| 18 | // <http://www.gnu.org/licenses/>. |
| 19 | |
| 20 | #include <cmath> |
| 21 | |
| 22 | namespace gnu |
| 23 | { |
| 24 | // C++17 additions from TR1. |
| 25 | using std::assoc_laguerre; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 26 | using std::assoc_legendre; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 27 | using std::beta; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 28 | using std::comp_ellint_1; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 29 | using std::comp_ellint_2; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 30 | using std::comp_ellint_3; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 31 | using std::cyl_bessel_i; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 32 | using std::cyl_bessel_j; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 33 | using std::cyl_bessel_k; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 34 | using std::cyl_neumann; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 35 | using std::ellint_1; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 36 | using std::ellint_2; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 37 | using std::ellint_3; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 38 | using std::expint; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 39 | using std::hermite; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 40 | using std::laguerre; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 41 | using std::legendre; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 42 | using std::riemann_zeta; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 43 | using std::sph_bessel; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 44 | using std::sph_legendre; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 45 | using std::sph_neumann; // { dg-error "has not been declared" "" { target { ! c++17 } } } |
| 46 | // These two were in TR1 but not added to C++17. |
| 47 | using std::conf_hyperg; // { dg-error "has not been declared" } |
| 48 | using std::hyperg; // { dg-error "has not been declared" } |
| 49 | } |