// PR c++/116317 // { dg-additional-options "-fmodules-ts" } // { dg-module-cmi {} } template using element_t = int; template struct reverse_adaptor { void pairwise(); template auto first(T self) -> element_t; // We can get the same issue with function parameters template void second(T self, element_t second); }; template void reverse_adaptor::pairwise() { reverse_adaptor{}; }