summaryrefslogtreecommitdiffstats
path: root/build/unix/elfhack/test-array.c
blob: 21aec3d36082f62b431ce70e04045a9aeeaa6d1b (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};