aboutsummaryrefslogtreecommitdiff
path: root/elf/firstobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/firstobj.c')
-rw-r--r--elf/firstobj.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/elf/firstobj.c b/elf/firstobj.c
new file mode 100644
index 0000000000..1e7cb50fd2
--- /dev/null
+++ b/elf/firstobj.c
@@ -0,0 +1,8 @@
+#include <errno.h>
+
+int
+foo (void)
+{
+ errno = 0;
+ return 0;
+}