2 * Copyright (C) 2023 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
10 void test_constructor1(void) __attribute__((constructor
));
11 void test_constructor1(void)
13 tracepoint(tp
, constructor_c_across_units_before_define
);
16 void test_destructor1(void) __attribute__((destructor
));
17 void test_destructor1(void)
19 tracepoint(tp
, destructor_c_across_units_before_define
);
22 Obj
g_obj_across_units_before_define("global - across units before define");