summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/main.cpp
blob: e13927a380abc030d7eb4796affd6b07e53bd224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0


#include <stdio.h>

int main()
{
    for (int i=0; i<10240; i++)
        fprintf(stdout, "%d dead while reading\n", i);
    fflush(stdout);

    return 0;
}