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
; }
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. */
66 __get_dynamic_handler_chain ()
96 Foo::Foo (const Foo
& foo
)
99 for (int k
= 0; k
< FOO_MSG_LEN
; k
++)
100 message
[k
] = foo
.message
[k
];
103 Foo
& Foo::operator= (const Foo
& foo
)
105 for (int k
= 0; k
< FOO_MSG_LEN
; k
++)
106 message
[k
] = foo
.message
[k
];