blob: 0bb01ac6a33de5461120a5b68cf8286442552a11 [file] [log] [blame]
// { dg-additional-options {-fmodules-ts -fdump-lang-module} }
module foo;
// completes class A from interface
class A
{
};
void bill ()
{
A a;
}
// redeclaration of class B{} from interface
class B;
void bob ()
{
B b;
}
// { dg-final { scan-lang-dump {Lazily binding '::A'@'foo' section:} module } }
// { dg-final { scan-lang-dump {Lazily binding '::B'@'foo' section:} module } }