Skip to main content
summaryrefslogtreecommitdiffstats
blob: 401a5a257d1d5aeb9d7ae156c629d5260d7c047d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class A {
public:
    A() {}
	void f() {
	}
};

class B : public A {
public:
   B() {}
   void bf() {}
};

int main() {
	B b;
	b.f();
}

class Z {
  public:
  Z (*f)(Z);
};

Z zzz= *new Z();

class C {
  public:
     C(int a) {}
};

class D {
  public:
     D(D &) {}
};

Back to the top