summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/non-gadget-parent-class.h
blob: 2155ce7cd183d5b8bbd5f1a2e9566f5b3796c71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef NONGADGETPARENTCLASS_H
#define NONGADGETPARENTCLASS_H

#include <QtCore/qobjectdefs.h>

namespace NonGadgetParent {

struct Base {};
struct Derived : Base { Q_GADGET };

}

#endif // NONGADGETPARENTCLASS_H