1 // This file is compiled and linked into the S-record format.
8 static const int len
= FOO_MSG_LEN
;
11 static void init_foo ();
12 static int nb_foos() { return foos
; }
14 Foo(const char* message
);
16 Foo
& operator= (const Foo
&);
20 static Foo
static_foo( "static_foo");
25 Foo
automatic_foo( "automatic_foo");
32 /* This recursive call prevents a compiler warning that the noreturn
33 function terminate actually does return. */
71 __get_dynamic_handler_chain ()
96 Foo::Foo (const char*)
101 Foo::Foo (const Foo
& foo
)
104 for (int k
= 0; k
< FOO_MSG_LEN
; k
++)
105 message
[k
] = foo
.message
[k
];
108 Foo
& Foo::operator= (const Foo
& foo
)
110 for (int k
= 0; k
< FOO_MSG_LEN
; k
++)
111 message
[k
] = foo
.message
[k
];