mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 06:38:55 +08:00
update
From-SVN: r25969
This commit is contained in:
parent
b8b0126f61
commit
0b9c1e4dc4
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user