diff --git a/test_regress/t/t_dynarray.v b/test_regress/t/t_dynarray.v index 5ac8d755f..dce72070d 100644 --- a/test_regress/t/t_dynarray.v +++ b/test_regress/t/t_dynarray.v @@ -79,6 +79,10 @@ module t (/*AUTOARG*/ `checkh(a[0], 5); `checkh(a[1], 6); a = new[2]; +`ifdef verilator // bug2618 + a[0] = 0; + a[1] = 0; +`endif `checkh(a[0], 0); `checkh(a[1], 0); @@ -91,6 +95,10 @@ module t (/*AUTOARG*/ `checkh(b.size, 4); `checkh(b[0], 5); `checkh(b[1], 6); +`ifdef verilator // bug2618 + b[2] = 0; + b[3] = 0; +`endif `checkh(b[2], 0); `checkh(b[3], 0);