Files
llvm-project/clang/test/Modules/Inputs/PR24954/module.modulemap
Vassil Vassilev 632eac3428 [modules] Fix adding a templated friend functions to a namespace from another module.
When clang adds argument dependent lookup candidates, it can perform template
instantiation. For example, it can instantiate a templated friend function and
register it in the enclosing namespace's lookup table.

Fixes https://llvm.org/bugs/show_bug.cgi?id=24954

Reviewed by Richard Smith.

llvm-svn: 263634
2016-03-16 11:17:04 +00:00

10 lines
79 B
Plaintext

module A {
header "A.h"
export *
}
module B {
header "B.h"
export *
}