// PR c++/105320 // { dg-additional-options "-fmodules-ts -Wno-global-module" } // { dg-module-cmi test_support } module; template struct _Sp_atomic; template struct shared_ptr { template friend struct _Sp_atomic; using atomic_type = _Sp_atomic; }; export module test_support; export template struct A { shared_ptr data; };