PR 2384
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / gdb2384.cc
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 }
This page took 0.0308 seconds and 5 git commands to generate.