summaryrefslogtreecommitdiffstats
path: root/test-strptime.c
blob: 976e9c8066a33086824b071c2de20728b047a1af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#if defined(__linux__) || defined(__MINT__)
# define _GNU_SOURCE /* strptime(), getsubopt() */
#endif

#include <time.h>

int
main(int argc, char **argv)
{
	struct tm tm;
	strptime(*argv, "%D", &tm);
	return 0;
}