blob: 00a4df4b0dc8e1beeb5405244d8c84fbcd796c36 [file] [log] [blame]
// Build don't link:
// GROUPS passed old-abort
template <class T> class bug {
public:
void Foo(const int = 0);
void NotRedeclared(const int);
private:
T TheItem;
};
template <class T> void bug<T>::NotRedeclared(const int)
{
}
template <class T> void bug<T>::Foo(const int)
{
}
int
main()
{
bug<char> InstantiatedBug;
return 0;
}