blob: b63b9cac148370945cc8e8ae05a0cec2b2348c6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Bug: overloading of 'A' for template causes bogus shadowing warnings.
// Special g++ Options: -Wshadow
// Build don't link:
template<class T>
class A
{
public:
virtual ~A() {}
};
template class A<int>;
|