Richard Smith 6561f92b62 [modules] When we merge two definitions of a function, mark the retained
definition as visible in the discarded definition's module, as we do for
other kinds of definition.

llvm-svn: 281258
2016-09-12 21:06:40 +00:00

9 lines
138 B
Plaintext

module X {
module A { header "a.h" }
module B { header "b.h" }
}
module Y {
module C { header "c.h" }
module D { header "d.h" }
}