Dead
[official-gcc.git] / gomp-20050608-branch / libstdc++-v3 / testsuite / 17_intro / header_cwctype.cc
blob850e58b2a4c1502ab6de7828071326b4347c948f
1 // 2000-01-03 bkoz
3 // Copyright (C) 2001 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 2, or (at your option)
9 // any later version.
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.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING. If not, write to the Free
18 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19 // USA.
21 // 17.4.1.2 Headers, cwctype
23 #if _GLIBCXX_USE_WCHAR_T
24 #include <cwctype>
25 // Make sure wint_t is in namespace std
26 std::wint_t i = 5;
28 // Make sure table 46 is in namespace std.
29 using std::wctype_t;
30 using std::wctrans_t;
31 using std::iswalpha;
32 using std::iswupper;
33 using std::iswlower;
34 using std::iswdigit;
35 using std::iswxdigit;
36 using std::iswalnum;
37 using std::iswspace;
38 using std::iswpunct;
39 using std::iswprint;
40 using std::iswgraph;
41 using std::iswcntrl;
42 using std::iswctype;
43 using std::towctrans;
44 using std::towlower;
45 using std::towupper;
46 using std::wctrans;
47 using std::wctype;
48 #endif
50 int main(void)
52 return 0;