]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
cf97244f420c99daa9a556ac3020dcc808e78360
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / collate / transform / 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.ISO8859-1" }
6 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
7 // { dg-require-namedlocale "de_DE.ISO8859-15" }
8
9 // 2001-08-15 Benjamin Kosnik <bkoz@redhat.com>
10
11 // Copyright (C) 2001-2020 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_2
33 #include "2.cc"
34 #undef main
35
36 int main()
37 {
38 using namespace __gnu_test;
39 func_callback two;
40 two.push_back(&test02);
41 run_tests_wrapped_env(ISO_8859(15,de_DE), "LANG", two);
42 return 0;
43 }