diff options
Diffstat (limited to 'test/cvtest.d')
-rw-r--r-- | test/cvtest.d | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/cvtest.d b/test/cvtest.d index 5b5d233..73394ee 100644 --- a/test/cvtest.d +++ b/test/cvtest.d @@ -33,6 +33,12 @@ enum enum_name E_NOTIMPL = cast(int)0x80004001,
};
+enum derived_enum : ushort
+{
+ kDerived1,
+ kDerived2
+}
+
// field type LF_MEMBER_V1
class class_member
{
@@ -286,6 +292,7 @@ alias int Action; Action convertEnum()
{
+ derived_enum direvedEnum = derived_enum.kDerived2;
return Accept;
}
|