aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/tests/rtdl/scope1/libfoo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/tests/rtdl/scope1/libfoo.c')
-rw-r--r--lib/mlibc/tests/rtdl/scope1/libfoo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mlibc/tests/rtdl/scope1/libfoo.c b/lib/mlibc/tests/rtdl/scope1/libfoo.c
new file mode 100644
index 0000000..b4e1b8c
--- /dev/null
+++ b/lib/mlibc/tests/rtdl/scope1/libfoo.c
@@ -0,0 +1,9 @@
+char *foo() {
+ return "foo";
+}
+
+char global[] = "foo global";
+
+char *foo_global() {
+ return global;
+}