data/full_repos/permissive/143278/ivltests/display_bug.v
 line:3: before: "packed"
1: b"%Error: data/full_repos/permissive/143278/ivltests/display_bug.v:8: syntax error, unexpected ']', expecting ':'\n   word [2] array;       \n          ^\n%Error: Exiting due to 1 error(s)\n"
module main;

   typedef struct packed {
      logic [7:0] high;
      logic [7:0] low;
   } word;

   word [2] array;
   word single;

   initial begin
       array[0].high = "a";
       array[0].low = "b";
       array[1].high = "c";
       array[1].low = "d";

       $display("%s", array[0]);
       $display("%s %s", array[0].high, array[0].low);

       $display("%s", array[1]);

       $display("%s %s", array[1].high, array[1].low);


       single = array[0];
       $display("%s", single);
       $display("%s %s", single.high, single.low);
   end
endmodule
module main;


   typedef struct packed {
      logic [7:0] high;
      logic [7:0] low;
   } word;

   word [2] array;
   word single;

   initial begin
       array[0].high = "a";
       array[0].low = "b";
       array[1].high = "c";
       array[1].low = "d";

       $display("%s", array[0]);
       $display("%s %s", array[0].high, array[0].low);

       $display("%s", array[1]);

       $display("%s %s", array[1].high, array[1].low);


       single = array[0];
       $display("%s", single);
       $display("%s %s", single.high, single.low);
   end
endmodule