void f(int i, int j, int k = 3);
void f(int i, int j, int k);
void f(int i, int j = 2, int k);
void f(int i, int j, int k);
void f(int i = 1, int j, int k);
void f(int i, int j, int k);
void i()
{
f();
f(0);
f(0, 1);
f(0, 1, 2);
}
int f1(int i, int i, int j) { i = 17;
return j;
}
int x;
void g(int x, int y = x);
void g2(int x, int y, int z = x + y);
class X {
void f(X* x = this);
void g() {
int f(X* x = this); }
};
class C {
static int x;
void f(int i = 3); void g(int i, int j = x);
void h();
};
void C::f(int i = 3) { }
void C::g(int i = 88, int j) {}
void C::h() {
g(); }
struct Y {
int a;
int mem1(int i = a); int mem2(int i = b); int mem3(int i);
int mem4(int i);
struct Nested {
int mem5(int i = b, int j = c, int k = j, int l = a, Nested* self = this, int m); static int c;
Nested(int i = 42);
};
int mem7(Nested n = Nested());
static int b;
};
int Y::mem3(int i = b) { return i; }
int Y::mem4(int i = a) { return i; }
class Z {
public:
Z(Z&, int i = 17);
void f(Z& z) {
Z z2; Z z3(z);
}
void test_Z(const Z& z) {
Z z2(z); }
};
void test_Z(const Z& z) {
Z z2(z); }
struct ZZ {
static ZZ g(int = 17);
void f(ZZ z = g());
ZZ(ZZ&, int = 17); };
class C2 {
static void g(int = f()); static int f(int = 10); };
template <typename T> class C3;
template <> class C3<int> {
static void g(int = f()); static int f(int = 10); };
class XX {
void A(int length = -1 ) { }
void B() { A(); }
};
template <int I = (1 * I)> struct S {}; S<1> s;
template <int I1 = I2, int I2 = 1> struct T {}; T<0, 1> t;
struct PR28105 {
PR28105 (int = 0, int = 0,
PR28105 =
0); };