blob: b771850583f6dec08b7bf4a52e5716fded6b1d6b [file] [log] [blame]
// { dg-additional-options "-fmodules-ts -fdump-lang-module-blocks-alias" }
import B;
void fn ()
{
C c; // created C::C implicitly
}
void fn2 ()
{
D d; // merges implicit C::C
}
// { dg-final { scan-lang-dump {Read:-[0-9]*'s named merge key \(matched\) function_decl:'::C@A:.::__ct '\n} module } }
// { dg-final { scan-lang-dump-not {Adding implicit member '::C@A:.::__ct @B:.} module } }