xref: /aosp_15_r20/external/compiler-rt/make/platform/clang_darwin_test_input.c (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1 /* Include the headers we use in int_lib.h, to verify that they work. */
2 
3 #include <limits.h>
4 #include <stdint.h>
5 #include <stdlib.h>
6 #include <stdio.h>
7 #include <string.h>
8 
9 // Force us to link at least one symbol in a system library
10 // to detect systems where we don't have those for a given
11 // architecture.
main(int argc,const char ** argv)12 int main(int argc, const char **argv) {
13     int x;
14     memcpy(&x,&argc,sizeof(int));
15 }
16