FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp81.C
blob73a7a7ebc6f30599dda2a15e721452694ca6ac4a
1 // Build don't link:
3 template <int i> class a
5 public :
6 int  k;
8 template <int j> int f() const { return this->f<j-1>(); }
10 int g() const { return f<i>(); }
13 template <>
14 template <>
15 int a<2>::f<0>() const {
16   return 0;
19 int main()
21 a<2> x;
22 return x.g();