8sa1-gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash44.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

27 lines
347 B
C

// 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)
{
}
main()
{
bug<char> InstantiatedBug;
return 0;
}