aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/cplusplus-tools/detail/source.cpp
blob: 2cb464686084f2b7e72f894d364b90275b6eb43e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 "header.h"
#include "dummy.h"

#include <QString>

int xi = 10;

int freefunc2(int a) { return a; }

int freefunc2(double)
{ return 1; }

int freefunc2(const QString &)
{ return 1; }

void here() {
    test::Dummy d;
    d;
}