mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-12-11 18:55:29 +08:00
50e9909631
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
19 lines
211 B
C
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;
|
|
}
|
|
|