Index: src/ResolvExpr/Resolver.cc
===================================================================
--- src/ResolvExpr/Resolver.cc	(revision 6e7e2b36dcaa528c1778f81efe7654e171fb2197)
+++ src/ResolvExpr/Resolver.cc	(revision 30651b061fc903c716c0acd424112934cf8aaedb)
@@ -159,9 +159,11 @@
 
 		if ( ArrayType * at = dynamic_cast< ArrayType * >( new_type ) ){
-			BasicType arrayLenType = BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt );
-			CastExpr *castExpr = new CastExpr( at->get_dimension(), arrayLenType.clone() );
-			Expression *newExpr = findSingleExpression( castExpr, *this );
-			delete at->get_dimension();
-			at->set_dimension( newExpr );
+			if ( at->get_dimension() ) {
+				BasicType arrayLenType = BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt );
+				CastExpr *castExpr = new CastExpr( at->get_dimension(), arrayLenType.clone() );
+				Expression *newExpr = findSingleExpression( castExpr, *this );
+				delete at->get_dimension();
+				at->set_dimension( newExpr );
+			}
 		}
 	}
