summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/rawString/object2.h
blob: 643f7035b2be40965fed010774ebed81c6527782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef TEST_QMAKE_RAWSTRING_OBJECT2_H
#define TEST_QMAKE_RAWSTRING_OBJECT2_H

#define Lu8UR "land"
inline char opener(int i) {
    const char text[] = Lu8UR"blah( not a raw string; just juxtaposed";
    return text[i];
}

#include <QObject>

class Object2 : public QObject
{
    Q_OBJECT
};

inline char closer(int i) {
    const char text[] = "pretend to close it, all the same )blah";
    return text[i];
}

#endif // TEST_QMAKE_RAWSTRING_OBJECT2_H