| 1 |
// PR c++/106310 |
| 2 |
|
| 3 |
template <class T> |
| 4 |
struct set{}; |
| 5 |
|
| 6 |
template< typename T > |
| 7 |
struct Base |
| 8 |
{ |
| 9 |
template< int > int set(T const &); |
| 10 |
}; |
| 11 |
|
| 12 |
template< typename T > |
| 13 |
struct Derived : Base< T > |
| 14 |
{ |
| 15 |
void f(T const &arg) { |
| 16 |
this->template set< 0 >(arg); |
| 17 |
} |
| 18 |
}; |