Commit | Line | Data |
---|---|---|
81fe8080 DE |
1 | #include "gdb2384-base.h" |
2 | ||
3 | class derived : public base | |
4 | { | |
5 | public: | |
6 | derived (int); | |
7 | }; | |
8 | ||
9 | derived::derived (int _x) | |
10 | : base (_x) | |
11 | { | |
12 | } | |
13 | ||
14 | int g; | |
15 | ||
16 | int | |
17 | main () | |
18 | { | |
19 | derived d (42); | |
20 | g = d.meth (); // set breakpoint here | |
21 | return 0; | |
22 | } |