summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/cstyle-enums.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/cstyle-enums.h')
-rw-r--r--tests/auto/tools/moc/cstyle-enums.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/tools/moc/cstyle-enums.h b/tests/auto/tools/moc/cstyle-enums.h
index a930fa1117..ce89878e97 100644
--- a/tests/auto/tools/moc/cstyle-enums.h
+++ b/tests/auto/tools/moc/cstyle-enums.h
@@ -39,8 +39,10 @@ class CStyleEnums
{
Q_GADGET
public:
- Q_ENUMS(Baz)
typedef enum { Foo, Bar } Baz;
+ typedef enum { Foo2, Bar2 } Baz2;
+ Q_ENUM(Baz)
+ Q_ENUMS(Baz2)
};
#endif // CSTYLE_ENUMS_H