qt6windows7/tests/auto/tools/qmake/testdata/findMocs/object4.h

23 lines
417 B
C
Raw Normal View History

2023-10-30 06:33:08 +08:00
// 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 <QObject>
/*/ <-- Inside a comment
class Object4 : public QObject
{
Q_OBJECT
};
Comment ends there --> /*/
// Now we poison moc, just to make sure this doesn't get moc'ed :)
class NonMocObject4
/* : QObject */
{
/* qmake ignore Q_OBJECT */
Q_OBJECT
};