diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc index e98616215ab..672248c07ff 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc @@ -2,7 +2,7 @@ // 2001-09-17 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation // // 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 @@ -34,7 +34,7 @@ void test02() bool test __attribute__((unused)) = true; // create "C" time objects - tm time1 = { 0, 0, 12, 4, 3, 71, 0, 93, 0 }; + const tm time1 = __gnu_test::test_tm(0, 0, 12, 4, 3, 71, 0, 93, 0); // basic construction and sanity check locale loc_c = locale::classic(); |