]> git.ipfire.org Git - thirdparty/glibc.git/blame - time/bug-mktime1.c
Installed-header hygiene (BZ#20366): time.h types.
[thirdparty/glibc.git] / time / bug-mktime1.c
CommitLineData
41aba3d7
UD
1#include <stdio.h>
2#include <time.h>
3
4
5static int
6do_test (void)
7{
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;
14}
15
16#define TEST_FUNCTION do_test ()
17#include "../test-skeleton.c"