// { dg-module-do run } // { dg-additional-options "-fmodules-ts" } export module frob; // { dg-module-cmi "frob" } export struct A { A () { } template operator T () const { return T(99); } }; export template struct B { T m; B(T t) : m(t) { } template operator S () const { return S (m); } };