]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/time_get/get_time/char/1.cc
testsuite_hooks.h (test_tm(unsigned)): New.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / time_get / get_time / char / 1.cc
index 9aa45997a8621fe07c0a64412cc35ab073295549..8b55d0c6db4768ca7d0a7c172988d53bca4a732c 100644 (file)
@@ -2,7 +2,7 @@
 
 // 2001-09-21 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
@@ -50,7 +50,7 @@ void test01()
   ios_base::iostate errorstate = good;
 
   // create "C" time objects
-  const tm time_bday = { 0, 0, 12, 4, 3, 71, 0, 93, 0 };
+  const tm time_bday = __gnu_test::test_tm(0);
 
   // 2
   // iter_type