diff options
Diffstat (limited to 'test/Analysis/Inputs/system-header-simulator-for-simple-stream.h')
-rw-r--r-- | test/Analysis/Inputs/system-header-simulator-for-simple-stream.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h b/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h new file mode 100644 index 0000000..99986f4 --- /dev/null +++ b/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h @@ -0,0 +1,11 @@ + +#pragma clang system_header + +typedef struct __sFILE { + unsigned char *_p; +} FILE; +FILE *fopen(const char * restrict, const char * restrict) __asm("_" "fopen" ); +int fputc(int, FILE *); +int fputs(const char * restrict, FILE * restrict) __asm("_" "fputs" ); +int fclose(FILE *); +void exit(int); |