diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.cc b/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.cc index 31c7b968898..aecd6d93dca 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.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 @@ -35,7 +35,7 @@ void test07() 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); const wchar_t* date = L"%A, the second of %B"; const wchar_t* date_ex = L"%Ex"; |