From 5c11de166343621eb8b84042fb3c2466c07c613a Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 22 May 2020 22:14:26 -0400 Subject: [PATCH] Tests: Check queue typedef. --- test_regress/t/t_queue.v | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test_regress/t/t_queue.v b/test_regress/t/t_queue.v index d8a4fc065..ad9d3966a 100644 --- a/test_regress/t/t_queue.v +++ b/test_regress/t/t_queue.v @@ -19,6 +19,13 @@ module t (/*AUTOARG*/ integer i; + typedef integer q_t[$]; + + initial begin + q_t iq; + iq.push_back(42); + end + always @ (posedge clk) begin cyc <= cyc + 1;