1 // { dg-additional-options "-fmodules-ts -fdump-lang-module-uid" } 2 3 export module bob; 4 // { dg-module-cmi bob } 5 6 namespace N { 7 export int foo (); 8 } 9 10 // Only one using decl exported! 11 using N::foo; 12 export using N::foo; 13 14 // { dg-final { scan-lang-dump {Writing section:2 2 depsets} module } } 15 // { dg-final { scan-lang-dump {Depset:0 using overload:'::N::foo'} module } } 16 // { dg-final { scan-lang-dump {Depset:1 binding namespace_decl:'::foo'} module } } 17 18