Updated to fedora-glibc-20081112T2008
[glibc.git] / time / bug-mktime1.c
blobe071273f057522006085ab456c3595f7a1c5932d
1 #include <stdio.h>
2 #include <time.h>
5 static int
6 do_test (void)
8 struct tm t2 = { 0, 0, 0, 1, 1, 2050 - 1900, 1, 1, 1 };
9 time_t tt2 = mktime (&t2);
10 printf ("%ld\n", (long int) tt2);
11 if (sizeof (time_t) == 4 && tt2 != -1)
12 return 1;
13 return 0;
16 #define TEST_FUNCTION do_test ()
17 #include "../test-skeleton.c"