| 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 <cstdio> |
| 21 |
|
| 22 |
namespace gnu |
| 23 |
{ |
| 24 |
using std::clearerr; |
| 25 |
using std::tmpfile; |
| 26 |
using std::fgets; |
| 27 |
using std::fscanf; |
| 28 |
#if __cplusplus <= 201103L |
| 29 |
using std::gets; |
| 30 |
#endif |
| 31 |
using std::rename; |
| 32 |
using std::fclose; |
| 33 |
using std::fopen; |
| 34 |
using std::fseek; |
| 35 |
using std::perror; |
| 36 |
using std::rewind; |
| 37 |
using std::tmpnam; |
| 38 |
using std::feof; |
| 39 |
using std::fprintf; |
| 40 |
using std::fsetpos; |
| 41 |
using std::printf; |
| 42 |
using std::scanf; |
| 43 |
using std::ungetc; |
| 44 |
using std::ferror; |
| 45 |
using std::vfprintf; |
| 46 |
using std::fputc; |
| 47 |
using std::ftell; |
| 48 |
using std::putc; |
| 49 |
using std::setbuf; |
| 50 |
using std::fflush; |
| 51 |
using std::vprintf; |
| 52 |
using std::fputs; |
| 53 |
using std::fwrite; |
| 54 |
using std::putchar; |
| 55 |
using std::setvbuf; |
| 56 |
using std::fgetc; |
| 57 |
using std::vsprintf; |
| 58 |
using std::fread; |
| 59 |
using std::getc; |
| 60 |
using std::puts; |
| 61 |
using std::sprintf; |
| 62 |
using std::fgetpos; |
| 63 |
using std::freopen; |
| 64 |
using std::getchar; |
| 65 |
using std::remove; |
| 66 |
using std::sscanf; |
| 67 |
} |