diff --git a/tests/Common/Common.h b/tests/Common/Common.h index b22c8d1e76..bb6ec3e915 100644 --- a/tests/Common/Common.h +++ b/tests/Common/Common.h @@ -1555,6 +1555,27 @@ typedef const char* LPCSTR; DLL_API LPCSTR TakeTypedefedMappedType(LPCSTR string); DLL_API std::string UTF8; +typedef enum SE4IpAddr_Tag { + V4, + V6, +} SE4IpAddr_Tag; + +typedef struct { + uint8_t _0[4]; +} SE4V4_Body; + +typedef struct { + uint8_t _0[16]; +} SE4V6_Body; + +typedef struct { + SE4IpAddr_Tag tag; + union { + SE4V4_Body v4; + SE4V6_Body v6; + }; +} SE4IpAddr; + struct DLL_API StructWithCopyCtor { StructWithCopyCtor(); @@ -1619,4 +1640,4 @@ void DLL_API PointerToTypedefPointerTestMethod(LPPointerToTypedefPointerTest* lp typedef int *LPINT; -void DLL_API PointerToPrimitiveTypedefPointerTestMethod(LPINT lp, int valToSet); \ No newline at end of file +void DLL_API PointerToPrimitiveTypedefPointerTestMethod(LPINT lp, int valToSet);