From-SVN: r25969
This commit is contained in:
Jason Merrill 1999-03-24 22:28:39 -05:00
parent b8b0126f61
commit 0b9c1e4dc4

View File

@ -1,3 +1,5 @@
// We don't try to make implicit typename handle this case.
// Build don't link:
// Special g++ Options:
@ -11,10 +13,10 @@ struct A
template <class U>
struct B : public A<U>
{
A_Type Func();
A_Type Func(); // ERROR - candidate
};
template <class U>
A<U>::A_Type B<U>::Func()
{
{ // ERROR - no match
}