blob: 37a3417bfdf0067af7621670d5d10c3a1b60291c [file] [log] [blame]
// { dg-do assemble }
template <int i> class a
{
public :
int k;
template <int j> int f() const { return this->f<j-1>(); }
int g() const { return f<i>(); }
};
template <>
template <>
int a<2>::f<0>() const {
return 0;
}
int main()
{
a<2> x;
return x.g();
}