diff options
Diffstat (limited to 'test/Analysis/system-header-simulator.h')
-rw-r--r-- | test/Analysis/system-header-simulator.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Analysis/system-header-simulator.h b/test/Analysis/system-header-simulator.h new file mode 100644 index 0000000000..68c66574df --- /dev/null +++ b/test/Analysis/system-header-simulator.h @@ -0,0 +1,10 @@ +#pragma clang system_header + +typedef struct _FILE FILE; +extern FILE *stdin; +int fscanf(FILE *restrict stream, const char *restrict format, ...); + +// Note, on some platforms errno macro gets replaced with a function call. +extern int errno; + +unsigned long strlen(const char *); |