9b2042a6358fd7442d773f6b6059910baf0540d4
[platform/upstream/gcc48.git] / libstdc++-v3 / testsuite / 22_locale / time_put / put / wchar_t / wrapped_locale.cc
1 // { dg-require-namedlocale "de_DE" }
2 // { dg-require-namedlocale "en_HK" }
3 // { dg-require-namedlocale "es_ES" }
4 // { dg-require-namedlocale "fr_FR@euro" }
5 // { dg-require-namedlocale "ja_JP.eucjp" }
6
7 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
8
9 // Copyright (C) 2001-2013 Free Software Foundation, Inc.
10 //
11 // This file is part of the GNU ISO C++ Library.  This library is free
12 // software; you can redistribute it and/or modify it under the
13 // terms of the GNU General Public License as published by the
14 // Free Software Foundation; either version 3, or (at your option)
15 // any later version.
16
17 // This library is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 // GNU General Public License for more details.
21
22 // You should have received a copy of the GNU General Public License along
23 // with this library; see the file COPYING3.  If not see
24 // <http://www.gnu.org/licenses/>.
25
26 // 22.2.4.1.1 collate members
27
28 #include <testsuite_hooks.h>
29
30 #define main discard_main_1
31 #include "1.cc"
32 #undef main 
33
34 #define main discard_main_2
35 #include "2.cc"
36 #undef main 
37
38 #define main discard_main_3
39 #include "3.cc"
40 #undef main 
41
42 #define main discard_main_4
43 #include "4.cc"
44 #undef main 
45
46 #define main discard_main_5
47 #include "5.cc"
48 #undef main 
49
50 #define main discard_main_6
51 #include "6.cc"
52 #undef main 
53
54 #define main discard_main_7
55 #include "7.cc"
56 #undef main 
57
58 #define main discard_main_8
59 #include "8.cc"
60 #undef main 
61
62 #define main discard_main_9
63 #include "9.cc"
64 #undef main 
65
66 #define main discard_main_10
67 #include "10.cc"
68 #undef main 
69
70 int main()
71 {
72   using namespace __gnu_test;
73   func_callback two;
74   two.push_back(&test01);
75   two.push_back(&test02);
76   two.push_back(&test03);
77   two.push_back(&test04);
78   two.push_back(&test05);
79   two.push_back(&test06);
80   two.push_back(&test07);
81   two.push_back(&test08);
82   two.push_back(&test09);
83   two.push_back(&test10);
84   run_tests_wrapped_locale("ja_JP.eucjp", two);
85   return 0;
86 }