Richard Smith 535ff80354 [modules] When picking one of two template declarations as a lookup result,
it's not sufficient to prefer the declaration with more default arguments, or
the one that's visible; they might both be visible, but one of them might have
a visible default argument where the other has a hidden default argument.

llvm-svn: 247486
2015-09-11 22:39:35 +00:00

9 lines
138 B
Plaintext

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