blob: ef4a6eea9ee71ba737530ed620b6d27bfef70f21 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-Wshadow" }
// Bug: overloading of 'A' for template causes bogus shadowing warnings.
template<class T>
class A
{
public:
virtual ~A() {}
};
template class A<int>;