aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/__overflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__overflow.c')
-rw-r--r--src/stdio/__overflow.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/__overflow.c b/src/stdio/__overflow.c
index e65a594d..6618a50f 100644
--- a/src/stdio/__overflow.c
+++ b/src/stdio/__overflow.c
@@ -8,3 +8,11 @@ int __overflow(FILE *f, int _c)
if (f->write(f, &c, 1)!=1) return EOF;
return c;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif