gdb: Fix scrolling in TUI
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / destrprint.cc
1
2 class Base
3 {
4 public:
5 int x, y;
6
7 Base() : x(0), y(1)
8 {
9 }
10
11 virtual ~Base()
12 {
13 // Break here.
14 }
15 };
16
17 class Derived : public Base
18 {
19 public:
20 int z;
21
22 Derived() : Base(), z(23)
23 {
24 }
25
26 ~Derived()
27 {
28 }
29 };
30
31 int main()
32 {
33 Derived d;
34
35 return 0;
36 }
This page took 0.147727 seconds and 4 git commands to generate.