]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / collate / hash / wchar_t / wrapped_env.cc
CommitLineData
f63a8495 1// { dg-do run }
4f4b0ab8 2// { dg-xfail-if "" { "*-*-hpux11.23" } } */
f63a8495
PC
3// { dg-options "-finput-charset=ISO8859-1" }
4// { dg-require-iconv "ISO8859-1" }
4216708a
JM
5// { dg-require-namedlocale "en_US.ISO8859-1" }
6// { dg-require-namedlocale "fr_FR.ISO8859-15" }
7// { dg-require-namedlocale "de_DE.ISO8859-15" }
f63a8495 8
5f8d36fe 9// 2001-08-15 Benjamin Kosnik <bkoz@redhat.com>
0214010c 10
7adcbafe 11// Copyright (C) 2001-2022 Free Software Foundation, Inc.
0214010c
BK
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
748086b7 16// Free Software Foundation; either version 3, or (at your option)
0214010c
BK
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
748086b7
JJ
25// with this library; see the file COPYING3. If not see
26// <http://www.gnu.org/licenses/>.
0214010c 27
5f8d36fe 28// 22.2.4.1.1 collate members
0214010c 29
5f8d36fe 30#include <testsuite_hooks.h>
dbb27f26 31
5f8d36fe
BK
32#define main discard_main_1
33#include "1.cc"
34#undef main
0214010c 35
5f8d36fe
BK
36#define main discard_main_2
37#include "2.cc"
38#undef main
13f83598
BK
39
40int main()
41{
aecf642c 42 using namespace __gnu_test;
5f8d36fe
BK
43 func_callback two;
44 two.push_back(&test01);
45 two.push_back(&test02);
4216708a 46 run_tests_wrapped_env(ISO_8859(15,de_DE), "LANG", two);
0214010c
BK
47 return 0;
48}