aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/various/unpacked_arrays.sv4
-rw-r--r--tests/various/unpacked_arrays.ys2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/various/unpacked_arrays.sv b/tests/various/unpacked_arrays.sv
new file mode 100644
index 000000000..2f4ed0d3f
--- /dev/null
+++ b/tests/various/unpacked_arrays.sv
@@ -0,0 +1,4 @@
+module unpacked_arrays;
+ reg array_range [0:7];
+ reg array_size [8];
+endmodule
diff --git a/tests/various/unpacked_arrays.ys b/tests/various/unpacked_arrays.ys
new file mode 100644
index 000000000..419152d9c
--- /dev/null
+++ b/tests/various/unpacked_arrays.ys
@@ -0,0 +1,2 @@
+read_verilog -sv unpacked_arrays.sv
+stat