mirror of git://gcc.gnu.org/git/gcc.git
named_equivalence.cc: Fix.
2011-05-06 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix. From-SVN: r173494
This commit is contained in:
parent
a91926b9ff
commit
54cc9874fd
|
@ -1,3 +1,7 @@
|
||||||
|
2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
|
* testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
|
||||||
|
|
||||||
2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
|
2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
|
||||||
|
|
||||||
PR libstdc++/47913 (again)
|
PR libstdc++/47913 (again)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
|
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
// Copyright (C) 2001, 2003, 2005, 2009 Free Software Foundation
|
// Copyright (C) 2001, 2003, 2005, 2009, 2011 Free Software Foundation
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -62,8 +62,8 @@ void test01()
|
||||||
|
|
||||||
// Check byname locale.
|
// Check byname locale.
|
||||||
catalog cat_byname = mssg_byname.open("libstdc++", loc_c, dir);
|
catalog cat_byname = mssg_byname.open("libstdc++", loc_c, dir);
|
||||||
string s03 = mssg_byname.get(cat_de, 0, 0, "please");
|
string s03 = mssg_byname.get(cat_byname, 0, 0, "please");
|
||||||
string s04 = mssg_byname.get(cat_de, 0, 0, "thank you");
|
string s04 = mssg_byname.get(cat_byname, 0, 0, "thank you");
|
||||||
VERIFY ( s03 == "bitte" );
|
VERIFY ( s03 == "bitte" );
|
||||||
VERIFY ( s04 == "danke" );
|
VERIFY ( s04 == "danke" );
|
||||||
mssg_byname.close(cat_byname);
|
mssg_byname.close(cat_byname);
|
||||||
|
|
Loading…
Reference in New Issue