Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.475 kb
#include <stdio.h>
#include "date-core.h"
int
main(void)
{
int res = 0;
#define CHECK_SIZE(x, y) \
if (sizeof(x) != sizeof(y)) { \
fprintf(stderr, "sizeof(" #x ") -> %zu\n", sizeof(x)); \
res = 1; \
}
CHECK_SIZE(struct dt_d_s, uint64_t);
CHECK_SIZE(dt_ymd_t, uint32_t);
CHECK_SIZE(dt_ymcw_t, uint32_t);
CHECK_SIZE(dt_bizda_t, uint32_t);
CHECK_SIZE(dt_md_t, uint32_t);
CHECK_SIZE(dt_daisy_t, uint32_t);
return res;
}
/* struct-8.c ends here */
Jump to Line
Something went wrong with that request. Please try again.