to re-export anything that it imports. This opt-in feature makes a module behave more like a header, because it can be used to re-export the transitive closure of a (sub)module's dependencies. llvm-svn: 145811
21 lines
289 B
Plaintext
21 lines
289 B
Plaintext
module A {
|
|
module One { header "A_one.h" }
|
|
module Two { header "A_two.h" }
|
|
}
|
|
|
|
module B {
|
|
module One { header "B_one.h" }
|
|
module Two { header "B_two.h" }
|
|
}
|
|
|
|
module C {
|
|
module One {
|
|
header "C_one.h"
|
|
export A.*
|
|
}
|
|
module Two {
|
|
header "C_two.h"
|
|
export *
|
|
}
|
|
}
|