Debian Codegraph @

test cases/common/254 long output/dumper.c

raw
1 #include <stdio.h>
2
3 int main(void)
4 {
5 for (int i = 0 ; i < 100000 ; i++)
6 fprintf(stderr, "# Iteration %d to stderr\n", i + 1);
7
8 printf("ok 1 - dumper to stderr\n");
9
10 for (int i = 0 ; i < 100000 ; i++)
11 fprintf(stdout, "# Iteration %d to stdout\n", i + 1);
12
13 printf("ok 2 - dumper to stdout\n1..2\n");
14
15 return 0;
16 }
17