| 1 | module std { |
| 2 | module vector { header "vector.h" } |
| 3 | module type_traits { header "type_traits.h" } |
| 4 | explicit module hash_map { header "hash_map.h" } |
| 5 | } |
| 6 | |
| 7 | module import_self { |
| 8 | module a { header "import-self-a.h" } |
| 9 | module b { header "import-self-b.h" export * } |
| 10 | module c { header "import-self-c.h" } |
| 11 | module d { header "import-self-d.h" } |
| 12 | } |
| 13 | |
| 14 | module missing_headers { |
| 15 | module missing { header "missing.h" } |
| 16 | module not_missing { header "not_missing.h" } |
| 17 | } |
| 18 | |
| 19 | module missing_unavailable_headers { |
| 20 | module missing { |
| 21 | requires !objc |
| 22 | header "missing.h" |
| 23 | module also_missing { header "also_missing.h" } |
| 24 | } |
| 25 | module not_missing { } |
| 26 | } |
| 27 | |
| 28 | module missing_umbrella_with_inferred_submodules { |
| 29 | umbrella header "missing_umbrella.h" |
| 30 | module * { export * } |
| 31 | export * |
| 32 | } |
| 33 | |