Richard Smith 7a591a4a46 [modules] When determining the visible module set during template
instantiation, use the set of modules visible from the template definition, not
from whichever declaration the specialization was instantiated from.

llvm-svn: 241662
2015-07-08 02:22:15 +00:00

5 lines
69 B
Plaintext

module X {
module A { header "a.h" }
module B { header "b.h" }
}