]>
Commit | Line | Data |
---|---|---|
b3f738da MM |
1 | // Build don't link: |
2 | // Origin: Mathias Doreille <Mathias.Doreille@imag.fr> | |
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; } |