// gcc version pgcc-2.91.57 19980901 (egcs-1.1 release)
template <int i> class a
{
public :
template <int j> int f() const { return f<j-1>(); };
template <> int f<0>() const { return 0; };
};
int main()
{
a<2> x;
return x.f<1>(); // maybe it is incorrect
}