X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fgcc-weak-hidden%2Fb.c;fp=tests%2Fgcc-weak-hidden%2Fb.c;h=2419ed9f01d6025884e8ba1e46c4ca2750c8a1e4;hb=5a67344622044d35ae424565e03aec25221cae58;hp=0000000000000000000000000000000000000000;hpb=cad6b749231be8c91fcfd3616934032b5dfd3614;p=lttng-ust.git diff --git a/tests/gcc-weak-hidden/b.c b/tests/gcc-weak-hidden/b.c new file mode 100644 index 00000000..2419ed9f --- /dev/null +++ b/tests/gcc-weak-hidden/b.c @@ -0,0 +1,6 @@ +char testsym[9] __attribute__((weak, visibility("hidden"))); + +void *fct1(void) +{ + return testsym; +}