diff options
Diffstat (limited to 'clang-tools-extra/test/modularize/Inputs')
3 files changed, 13 insertions, 0 deletions
diff --git a/clang-tools-extra/test/modularize/Inputs/CompileError/HasError.h b/clang-tools-extra/test/modularize/Inputs/CompileError/HasError.h new file mode 100644 index 00000000000..4395cb166de --- /dev/null +++ b/clang-tools-extra/test/modularize/Inputs/CompileError/HasError.h @@ -0,0 +1,2 @@ +typedef WithoutDep BadType; + diff --git a/clang-tools-extra/test/modularize/Inputs/CompileError/Level1A.h b/clang-tools-extra/test/modularize/Inputs/CompileError/Level1A.h new file mode 100644 index 00000000000..10eef6787e4 --- /dev/null +++ b/clang-tools-extra/test/modularize/Inputs/CompileError/Level1A.h @@ -0,0 +1 @@ +#define MACRO_1A 1 diff --git a/clang-tools-extra/test/modularize/Inputs/CompileError/module.modulemap b/clang-tools-extra/test/modularize/Inputs/CompileError/module.modulemap new file mode 100644 index 00000000000..fbb8e7db4d1 --- /dev/null +++ b/clang-tools-extra/test/modularize/Inputs/CompileError/module.modulemap @@ -0,0 +1,10 @@ +// module.map
+
+module Level1A {
+ header "Level1A.h"
+ export *
+}
+module HasError {
+ header "HasError.h"
+ export *
+}
|