Automatic date update in version.in
[binutils-gdb/blckswan.git] / gdb / testsuite / gdb.mi / gdb792.cc
bloba698a12e0fbaed54eae0e2978a8bee5dc5ee2da2
1 #include <string.h>
2 #include <stdio.h>
4 class Q
6 int v;
7 protected:
8 int qx;
9 int qy;
10 int w;
13 class B
15 int k;
16 public:
17 int bx;
18 int by;
21 class A
23 int u;
25 public:
26 A()
29 int x;
30 char buffer[10];
32 protected:
33 int y;
34 B b;
36 private:
37 float z;
40 class C : public A
42 public:
43 C()
46 int zzzz;
47 private:
48 int ssss;
51 int main()
53 A a;
54 C c;
55 Q q;
56 strcpy( a.buffer, "test" );
57 printf ( "%.10s\n", a.buffer );
58 return 0;