summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/grand-parent-gadget-class.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/grand-parent-gadget-class.h')
-rw-r--r--tests/auto/tools/moc/grand-parent-gadget-class.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/tools/moc/grand-parent-gadget-class.h b/tests/auto/tools/moc/grand-parent-gadget-class.h
index 7ffd636ca1..c7720a1ab9 100644
--- a/tests/auto/tools/moc/grand-parent-gadget-class.h
+++ b/tests/auto/tools/moc/grand-parent-gadget-class.h
@@ -36,7 +36,8 @@ namespace GrandParentGadget {
struct BaseGadget { Q_GADGET };
struct Derived : BaseGadget {};
struct DerivedGadget : Derived { Q_GADGET };
-
+template<typename T> struct CRTP : BaseGadget {};
+struct CRTPDerivedGadget : CRTP<CRTPDerivedGadget> { Q_GADGET };
}
#endif // GRANDPARENTGADGETCLASS_H