diff options
Diffstat (limited to 'tests/auto/tools/moc/enum_with_include.h')
-rw-r--r-- | tests/auto/tools/moc/enum_with_include.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/enum_with_include.h b/tests/auto/tools/moc/enum_with_include.h index b8abf77f12..cd53ba6a28 100644 --- a/tests/auto/tools/moc/enum_with_include.h +++ b/tests/auto/tools/moc/enum_with_include.h @@ -34,6 +34,11 @@ class Foo : public QObject { enum en { #include <enum_inc.h> }; + + enum class en2 { + #include <enum_inc.h> + reference = 42 + }; Q_OBJECT }; #endif |