File: struct-3.c

package info (click to toggle)
dateutils 0.3.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,236 kB
  • ctags: 1,790
  • sloc: ansic: 20,002; makefile: 1,434; yacc: 200; sh: 167; lex: 105
file content (23 lines) | stat: -rw-r--r-- 276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#if defined HAVE_CONFIG_H
# include "config.h"
#endif	/* HAVE_CONFIG_H */
#include "dt-core.h"

int
main(void)
{
	struct dt_dt_s dt;

	dt.dur = 1;
	if (dt.d.dur != 1) {
		return 1;
	}

	dt.dur = 0;
	if (dt.d.dur != 0) {
		return 1;
	}
	return 0;
}

/* struct-3.c ends here */