summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text/qlocale/syslocaleapp/syslocaleapp.cpp
blob: 1194cf0895d8ca838df2cff51c0428240f897b4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 <QLocale>
#include <QCoreApplication>
#include <QTextStream>

int main(int argc, char** argv)
{
    QCoreApplication app(argc, argv);
    QLocale l;
    QTextStream str(stdout);
    str << l.name();

    return 0;
}