// { dg-additional-options "-fmodules" } // { dg-module-cmi M } export module M; export template inline void ma() {} extern template void ma(); extern template void ma(); template void ma(); export template void mb() {} extern template void mb(); extern template void mb(); template void mb(); export template inline int mc = 123; extern template int mc; extern template int mc; template int mc; export template int md = 123; extern template int md; extern template int md; template int md;