]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
Update copyright years in libstdc++-v3/
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / collate / compare / wchar_t / wrapped_env.cc
1 // { dg-do run }
2 // { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
3 // { dg-options "-finput-charset=ISO8859-1" }
4 // { dg-require-iconv "ISO8859-1" }
5 // { dg-require-namedlocale "en_US" }
6 // { dg-require-namedlocale "fr_FR" }
7 // { dg-require-namedlocale "de_DE" }
8
9 // 2001-08-15 Benjamin Kosnik <bkoz@redhat.com>
10
11 // Copyright (C) 2001-2014 Free Software Foundation, Inc.
12 //
13 // This file is part of the GNU ISO C++ Library. This library is free
14 // software; you can redistribute it and/or modify it under the
15 // terms of the GNU General Public License as published by the
16 // Free Software Foundation; either version 3, or (at your option)
17 // any later version.
18
19 // This library is distributed in the hope that it will be useful,
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 // GNU General Public License for more details.
23
24 // You should have received a copy of the GNU General Public License along
25 // with this library; see the file COPYING3. If not see
26 // <http://www.gnu.org/licenses/>.
27
28 // 22.2.4.1.1 collate members
29
30 #include <testsuite_hooks.h>
31
32 #define main discard_main_1
33 #include "1.cc"
34 #undef main
35
36 #define main discard_main_2
37 #include "2.cc"
38 #undef main
39
40 int main()
41 {
42 using namespace __gnu_test;
43 func_callback two;
44 two.push_back(&test01);
45 two.push_back(&test02);
46 run_tests_wrapped_env("de_DE", "LANG", two);
47 return 0;
48 }