summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/namespaced-base-class.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/namespaced-base-class.h')
-rw-r--r--tests/auto/tools/moc/namespaced-base-class.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/namespaced-base-class.h b/tests/auto/tools/moc/namespaced-base-class.h
new file mode 100644
index 0000000000..46bd2bae29
--- /dev/null
+++ b/tests/auto/tools/moc/namespaced-base-class.h
@@ -0,0 +1,20 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#ifndef TST_MOC_NAMESPACED_BASE_CLASS_H
+#define TST_MOC_NAMESPACED_BASE_CLASS_H
+
+#include <QObject>
+
+namespace QTBUG_101141 {
+ class Base : public QObject {
+ Q_OBJECT
+ };
+
+ class Derived : public Base
+ {
+ Q_OBJECT
+ };
+}
+
+#endif // TST_MOC_NAMESPACED_BASE_CLASS_H