llvm/clang/test/Modules/Inputs/module-transtive-instantiation/Templ.cppm

export module Templ;
export template <class T>
class G {
public:
    T operator()() {
        return T();
    }
};