// PR c++/114889 // { dg-additional-options "-fmodule-header" } // { dg-module-cmi {} } template struct _Hashtable; template struct _Map_base { void f() { _Hashtable<_Key, _Val> __h; __h._M_hash_code(0); } }; template struct _Hashtable { template friend struct _Map_base; protected: void _M_hash_code(int); }; inline _Hashtable m;