aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/debugger/spacy-file/plugin with space.cpp
blob: 6658c26e9e293f7738dc17ee456097cc090b1bcc (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+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#include <stdio.h>
#include <qglobal.h>

extern "C" Q_DECL_EXPORT int pluginTest()
{
    int s = 0;
    for (int i = 1; i != 2000; ++i)
        s += i;
    fprintf(stderr, "in plugin test");
    return s;
}