
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
9 lines
115 B
C++
9 lines
115 B
C++
export module Templ;
|
|
export template <class T>
|
|
class G {
|
|
public:
|
|
T operator()() {
|
|
return T();
|
|
}
|
|
};
|