Commit 0b9c1e4d by Jason Merrill

update

From-SVN: r25969
parent b8b0126f
// We don't try to make implicit typename handle this case.
// Build don't link: // Build don't link:
// Special g++ Options: // Special g++ Options:
...@@ -11,10 +13,10 @@ struct A ...@@ -11,10 +13,10 @@ struct A
template <class U> template <class U>
struct B : public A<U> struct B : public A<U>
{ {
A_Type Func(); A_Type Func(); // ERROR - candidate
}; };
template <class U> template <class U>
A<U>::A_Type B<U>::Func() A<U>::A_Type B<U>::Func()
{ { // ERROR - no match
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment