OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 21_strings / headers / cwchar / functions_std.cc
1 // { dg-do compile }
2 // { dg-require-c-std "" }
3 // { dg-require-swprintf "" }
4
5 // Copyright (C) 2007, 2009 Free Software Foundation, Inc.
6 //
7 // This file is part of the GNU ISO C++ Library.  This library is free
8 // software; you can redistribute it and/or modify it under the
9 // terms of the GNU General Public License as published by the
10 // Free Software Foundation; either version 3, or (at your option)
11 // any later version.
12
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU General Public License for more details.
17
18 // You should have received a copy of the GNU General Public License along
19 // with this library; see the file COPYING3.  If not see
20 // <http://www.gnu.org/licenses/>.
21
22 #include <cwchar>
23
24 namespace gnu
25 {
26   using std::btowc;
27   using std::fgetwc;
28   using std::fgetws;
29   using std::fputwc;
30   using std::fputws;
31   using std::fwide;
32   using std::fwprintf;
33   using std::fwscanf;
34   using std::getwc;
35   using std::getwchar;
36   using std::mbrlen;
37   using std::mbrtowc;
38   using std::mbsinit;
39   using std::mbsrtowcs;
40   using std::putwc;
41   using std::putwchar;
42   using std::swprintf;
43   using std::swscanf;
44   using std::ungetwc;
45   using std::vfwprintf;
46   using std::vswprintf;
47   using std::vwprintf;
48   using std::wcrtomb;
49   using std::wcscat;
50   using std::wcschr;
51   using std::wcscmp;
52   using std::wcscoll;
53   using std::wcscpy;
54   using std::wcscmp;
55   using std::wcsftime;
56   using std::wcslen;
57   using std::wcsncat;
58   using std::wcsncmp;
59   using std::wcsncpy;
60   using std::wcspbrk;
61   using std::wcsrchr;
62   using std::wcsrtombs;
63   using std::wcsspn;
64   using std::wcsstr;
65   using std::wcstod;
66   using std::wcstok;
67   using std::wcstol;
68   using std::wcstoul;
69   using std::wcsxfrm;
70   using std::wctob;
71   using std::wmemchr;
72   using std::wmemcmp;
73   using std::wmemcpy;
74   using std::wmemmove;
75   using std::wmemset;
76   using std::wprintf;
77   using std::wscanf;
78 }