d6ab0c9e482139c79df01ad35c78a972efc7e70c
[lttng-ust.git] / tests / unit / gcc-weak-hidden / libgcc-wh1.c
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 */
4
5 #include "libgcc-wh.h"
6
7 int testint __attribute__((weak, visibility("hidden")));
8 void *testptr __attribute__((weak, visibility("hidden")));
9 struct {
10 char a[24];
11 } testsym_24_bytes __attribute__((weak, visibility("hidden")));
12
13 void *testlibfct1_int(void)
14 {
15 return &testint;
16 }
17
18 void *testlibfct1_ptr(void)
19 {
20 return &testptr;
21 }
22
23 void *testlibfct1_24_bytes(void)
24 {
25 return &testsym_24_bytes;
26 }
This page took 0.029904 seconds and 3 git commands to generate.