diff options
Diffstat (limited to 'clang/test/Modules/Inputs/StdDef')
| -rw-r--r-- | clang/test/Modules/Inputs/StdDef/module.map | 11 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/StdDef/other.h | 2 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/StdDef/size_t.h | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/StdDef/module.map b/clang/test/Modules/Inputs/StdDef/module.map new file mode 100644 index 00000000000..69c69eac35b --- /dev/null +++ b/clang/test/Modules/Inputs/StdDef/module.map @@ -0,0 +1,11 @@ +module StdDef { + module SizeT { + header "size_t.h" + export * + } + + module Other { + header "other.h" + export * + } +} diff --git a/clang/test/Modules/Inputs/StdDef/other.h b/clang/test/Modules/Inputs/StdDef/other.h new file mode 100644 index 00000000000..f29f6366cc6 --- /dev/null +++ b/clang/test/Modules/Inputs/StdDef/other.h @@ -0,0 +1,2 @@ +#include <stddef.h> + diff --git a/clang/test/Modules/Inputs/StdDef/size_t.h b/clang/test/Modules/Inputs/StdDef/size_t.h new file mode 100644 index 00000000000..9ac61c5e0d7 --- /dev/null +++ b/clang/test/Modules/Inputs/StdDef/size_t.h @@ -0,0 +1,4 @@ +#ifndef _SIZE_T +#define _SIZE_T +typedef __SIZE_TYPE__ size_t; +#endif |

