blob: 442a09335f3735e2df251e181dd19a006dd6e533 [file] [log] [blame]
// PR c++/79490
// { dg-options -fsyntax-only }
struct IRegistryHub {
virtual ~IRegistryHub();
};
namespace {
class A : IRegistryHub {};
A *fn1();
}
void fn2() { delete fn1(); }