]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.old-deja/g++.pt/nested2.C
pt.c (check_nontype_parm): New function.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / nested2.C
CommitLineData
b3f738da
MM
1// Build don't link:
2// Origin: Mathias Doreille <Mathias.Doreille@imag.fr>
3
4template<class T>
5struct a {
6 struct b {
7 T operator()();
8 };
9};
10
11
12template<class T>
13T a<T>::b::operator()() { return T(0); }
14
15template<> int a<int>::b::operator()() { return 1; }
This page took 0.558992 seconds and 5 git commands to generate.