aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/PR28812
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/PR28812')
-rw-r--r--test/Modules/Inputs/PR28812/Textual.h11
-rw-r--r--test/Modules/Inputs/PR28812/a.h1
-rw-r--r--test/Modules/Inputs/PR28812/b.h1
-rw-r--r--test/Modules/Inputs/PR28812/module.modulemap6
4 files changed, 19 insertions, 0 deletions
diff --git a/test/Modules/Inputs/PR28812/Textual.h b/test/Modules/Inputs/PR28812/Textual.h
new file mode 100644
index 0000000000000..769962e087921
--- /dev/null
+++ b/test/Modules/Inputs/PR28812/Textual.h
@@ -0,0 +1,11 @@
+#ifndef T_H
+#define T_H
+
+template <typename ValueType> struct VarStreamArray;
+
+template <typename ValueType> struct VarStreamArrayIterator {
+ VarStreamArrayIterator(VarStreamArray<ValueType>) {}
+ bool HasError{};
+};
+
+#endif // T_H
diff --git a/test/Modules/Inputs/PR28812/a.h b/test/Modules/Inputs/PR28812/a.h
new file mode 100644
index 0000000000000..0d9da60c91c27
--- /dev/null
+++ b/test/Modules/Inputs/PR28812/a.h
@@ -0,0 +1 @@
+#include "Textual.h"
diff --git a/test/Modules/Inputs/PR28812/b.h b/test/Modules/Inputs/PR28812/b.h
new file mode 100644
index 0000000000000..0d9da60c91c27
--- /dev/null
+++ b/test/Modules/Inputs/PR28812/b.h
@@ -0,0 +1 @@
+#include "Textual.h"
diff --git a/test/Modules/Inputs/PR28812/module.modulemap b/test/Modules/Inputs/PR28812/module.modulemap
new file mode 100644
index 0000000000000..d2d2b4a0c345d
--- /dev/null
+++ b/test/Modules/Inputs/PR28812/module.modulemap
@@ -0,0 +1,6 @@
+module "A" {
+ header "a.h"
+}
+module "B" {
+ header "b.h"
+}