about summary refs log tree commit diff
path: root/stdio/bug2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/bug2.c')
-rw-r--r--stdio/bug2.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/stdio/bug2.c b/stdio/bug2.c
new file mode 100644
index 0000000000..2b34c890bf
--- /dev/null
+++ b/stdio/bug2.c
@@ -0,0 +1,12 @@
+#include <ansidecl.h>
+#include <stdio.h>
+
+int
+DEFUN_VOID(main)
+{
+  int i;
+  puts ("This should print \"wow = I\" for I from 0 to 39 inclusive.");
+  for (i = 0; i < 40; i++)
+    printf ("%s = %d\n", "wow", i);
+  return 0;
+}