test: add test for gcc issue with weak hidden symbol on powerpc
[lttng-ust.git] / tests / gcc-weak-hidden / b.c
diff --git a/tests/gcc-weak-hidden/b.c b/tests/gcc-weak-hidden/b.c
new file mode 100644 (file)
index 0000000..2419ed9
--- /dev/null
@@ -0,0 +1,6 @@
+char testsym[9] __attribute__((weak, visibility("hidden")));
+
+void *fct1(void)
+{
+       return testsym;
+}
This page took 0.023489 seconds and 4 git commands to generate.