* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-cdtest / cdtest-foo.h
blobf36efb7fc9abf4113ae7ebdde91b04919d1bd980
1 // Class Foo
3 #pragma interface
5 #define FOOLISH_NUMBER -4711
7 #ifndef FOO_MSG_LEN
8 #define FOO_MSG_LEN 80
9 #endif
11 class Foo {
12 static int foos;
13 int i;
14 static const int len = FOO_MSG_LEN;
15 char message[len];
16 public:
17 static void init_foo ();
18 static int nb_foos() { return foos; }
19 Foo();
20 Foo(const char* message);
21 Foo(const Foo&);
22 Foo & operator= (const Foo&);
23 ~Foo ();
24 };