Index: src/Validate/HoistStruct.cpp
===================================================================
--- src/Validate/HoistStruct.cpp	(revision ca9d65e54b7ed187b75dfe016b8d4e2debd19fa4)
+++ src/Validate/HoistStruct.cpp	(revision f0c9c9b16cd1d7a36d8412b7e46a990e61d51543)
@@ -30,4 +30,5 @@
 	return dynamic_cast< ast::StructDecl const * >( decl )
 		|| dynamic_cast< ast::UnionDecl const * >( decl )
+		|| dynamic_cast< ast::EnumDecl const * >( decl )
 		|| dynamic_cast< ast::StaticAssertDecl const * >( decl );
 }
