summaryrefslogtreecommitdiff
path: root/test cases/common/254 long output/dumper.c
blob: d479e08adb67117db472e41a16966823cb608f18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

int main(void)
{
    for (int i = 0 ; i < 100000 ; i++)
        fprintf(stderr, "# Iteration %d to stderr\n", i + 1);

    printf("ok 1 - dumper to stderr\n");

    for (int i = 0 ; i < 100000 ; i++)
        fprintf(stdout, "# Iteration %d to stdout\n", i + 1);

    printf("ok 2 - dumper to stdout\n1..2\n");

    return 0;
}