921e5a0eb4
From-SVN: r14840
27 lines
347 B
C
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;
|
|
}
|