blob: 2439daf91dac7ebeccf817ff7b7f39b425872339 [file] [log] [blame]
// { dg-do assemble }
// 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;
}