summaryrefslogtreecommitdiff
path: root/tests/fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fgets.c')
-rw-r--r--tests/fgets.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fgets.c b/tests/fgets.c
new file mode 100644
index 0000000..914eecc
--- /dev/null
+++ b/tests/fgets.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+void foo(FILE *s) {
+ char *x;
+ fgets(x, 0, s);
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback