qt6windows7/tests/auto/tools/qmake/testdata/rawString/object2.h

25 lines
596 B
C
Raw Normal View History

2023-10-30 06:33:08 +08:00
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only 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