
This commit adds two test about template class instantiation in transitively imported module. They are used as pre-commit tests for successive patches. Differential Revision: https://reviews.llvm.org/D116097
7 lines
93 B
C++
7 lines
93 B
C++
export module bar;
|
|
import Templ;
|
|
export template<class T>
|
|
int bar() {
|
|
return G<T>()();
|
|
}
|