// { dg-additional-options "-fmodules-ts" } // { dg-module-cmi M } export module M; export extern "C++" template struct A { template friend struct B; };