| 1 |
// { dg-do assemble } |
| 2 |
// Origin: Mathias Doreille <[email protected]> |
| 3 |
|
| 4 |
template<class T> |
| 5 |
struct a { |
| 6 |
struct b { |
| 7 |
T operator()(); |
| 8 |
}; |
| 9 |
}; |
| 10 |
|
| 11 |
|
| 12 |
template<class T> |
| 13 |
T a<T>::b::operator()() { return T(0); } |
| 14 |
|
| 15 |
template<> int a<int>::b::operator()() { return 1; } |