summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap')
-rw-r--r--clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap14
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap b/clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap
new file mode 100644
index 00000000000..7afbc471361
--- /dev/null
+++ b/clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap
@@ -0,0 +1,14 @@
+module A [system] { // expected-note {{previous definition is here}}
+ module sub {
+ header "sys/A.h"
+ }
+ module sub2 {
+ header "sys/A2.h"
+ }
+ module stdarg {
+ header "stdarg.h"
+ export *
+ }
+}
+
+module A2 {}
OpenPOWER on IntegriCloud