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