2011-11-11 03:32:03 +08:00
|
|
|
/* Include the headers we use in int_lib.h, to verify that they work. */
|
|
|
|
|
|
|
|
#include <limits.h>
|
|
|
|
#include <stdint.h>
|
2011-11-16 15:33:06 +08:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
2015-10-06 06:24:12 +08:00
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
// Force us to link at least one symbol in a system library
|
|
|
|
// to detect systems where we don't have those for a given
|
|
|
|
// architecture.
|
|
|
|
int main(int argc, const char **argv) {
|
|
|
|
int x;
|
|
|
|
memcpy(&x,&argc,sizeof(int));
|
|
|
|
}
|