xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/module.map (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambucmodule std {
2f4a2713aSLionel Sambuc  module vector { header "vector.h" }
3f4a2713aSLionel Sambuc  module type_traits { header "type_traits.h" }
4f4a2713aSLionel Sambuc  explicit module hash_map { header "hash_map.h" }
5f4a2713aSLionel Sambuc}
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambucmodule import_self {
8f4a2713aSLionel Sambuc  module a { header "import-self-a.h" }
9f4a2713aSLionel Sambuc  module b { header "import-self-b.h" export * }
10f4a2713aSLionel Sambuc  module c { header "import-self-c.h" }
11f4a2713aSLionel Sambuc  module d { header "import-self-d.h" }
12f4a2713aSLionel Sambuc}
13*0a6a1f1dSLionel Sambuc
14*0a6a1f1dSLionel Sambucmodule missing_headers {
15*0a6a1f1dSLionel Sambuc  module missing { header "missing.h" }
16*0a6a1f1dSLionel Sambuc  module not_missing { header "not_missing.h" }
17*0a6a1f1dSLionel Sambuc}
18*0a6a1f1dSLionel Sambuc
19*0a6a1f1dSLionel Sambucmodule missing_unavailable_headers {
20*0a6a1f1dSLionel Sambuc  module missing {
21*0a6a1f1dSLionel Sambuc    requires !objc
22*0a6a1f1dSLionel Sambuc    header "missing.h"
23*0a6a1f1dSLionel Sambuc    module also_missing { header "also_missing.h" }
24*0a6a1f1dSLionel Sambuc  }
25*0a6a1f1dSLionel Sambuc  module not_missing { }
26*0a6a1f1dSLionel Sambuc}
27*0a6a1f1dSLionel Sambuc
28*0a6a1f1dSLionel Sambucmodule missing_umbrella_with_inferred_submodules {
29*0a6a1f1dSLionel Sambuc  umbrella header "missing_umbrella.h"
30*0a6a1f1dSLionel Sambuc  module * { export * }
31*0a6a1f1dSLionel Sambuc  export *
32*0a6a1f1dSLionel Sambuc}
33