mingw-w64/mingw-w64-headers/testcases/2009/stdint_stddef1.c
Kai Tietz 50e9909631 Start of some testcases for our headerset. This directory should get for
each problem we get on our headers a small testcase, so that we can run
in future some regression tests.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@556 4407c894-4637-0410-b4f5-ada5f102cad1
2009-01-13 10:10:32 +00:00

19 lines
211 B
C

#include <stdint.h>
#include <stddef.h>
extern void abort(void);
int main()
{
int ret = 0;
#ifndef NULL
ret=1;
#endif
if (ret) abort();
#ifndef offsetof
ret=1;
#endif
if (ret) abort();
return 0;
}