summaryrefslogtreecommitdiffstats
path: root/build/unix/elfhack/test-array.c
blob: 202c26666b7f761ef66ba8083161b9f35263c7d5 (plain)
1
2
3
4
5
6
7
8
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "test.c"

__attribute__((section(".init_array"), used))
static void (*init_array[])() = { end_test, test };