diff options
Diffstat (limited to 'clang/test/Modules/Inputs')
| -rw-r--r-- | clang/test/Modules/Inputs/preprocess/file.h | 3 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/preprocess/fwd.h | 1 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/preprocess/module.modulemap | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/preprocess/file.h b/clang/test/Modules/Inputs/preprocess/file.h new file mode 100644 index 00000000000..808ade5768b --- /dev/null +++ b/clang/test/Modules/Inputs/preprocess/file.h @@ -0,0 +1,3 @@ +struct __FILE; +#include "fwd.h" +typedef struct __FILE FILE; diff --git a/clang/test/Modules/Inputs/preprocess/fwd.h b/clang/test/Modules/Inputs/preprocess/fwd.h new file mode 100644 index 00000000000..4a19c6d0c05 --- /dev/null +++ b/clang/test/Modules/Inputs/preprocess/fwd.h @@ -0,0 +1 @@ +struct __FILE; diff --git a/clang/test/Modules/Inputs/preprocess/module.modulemap b/clang/test/Modules/Inputs/preprocess/module.modulemap new file mode 100644 index 00000000000..a5c5b61dddc --- /dev/null +++ b/clang/test/Modules/Inputs/preprocess/module.modulemap @@ -0,0 +1,2 @@ +module fwd { header "fwd.h" export * } +module file { header "file.h" export * } |

