From fd432a4a42e7f8e93e443cc0bad0eaabb44ff7ff Mon Sep 17 00:00:00 2001 From: Ronit Nallagatla Date: Mon, 19 Feb 2024 13:57:38 -0500 Subject: [PATCH] testcases: added more fail testcases for unpacked_array --- testcases/syntaxrules/fail/unpacked_array.sv | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/testcases/syntaxrules/fail/unpacked_array.sv b/testcases/syntaxrules/fail/unpacked_array.sv index 3deb146..876429e 100644 --- a/testcases/syntaxrules/fail/unpacked_array.sv +++ b/testcases/syntaxrules/fail/unpacked_array.sv @@ -9,3 +9,15 @@ module M; logic [31:0] b [0:7]; endmodule; +//////////////////////////////////////////////////////////////////////////////// +module M; + +localparam bit [7:0] ARRAY [0:3]; + +endmodule +//////////////////////////////////////////////////////////////////////////////// +module M ( + input logic [7:0] a_in [0:5] +); + +endmodule