data/full_repos/permissive/143278/ivltests/enum_value_expr.v
 line:4: before: "{"
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/enum_value_expr.v:19: Unsupported: Ignoring delay on this delayed statement.\n      #1;\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module test;
   parameter    PVALUE = 12;
   localparam   LVALUE = 88;
   enum { P[5] = PVALUE, Q, S[3] = LVALUE } par_enum;

   initial begin

      if (P0 != PVALUE+0 || P1 != PVALUE+1 || P2 != PVALUE+2 || P3 != PVALUE+3 || P4 != PVALUE + 4 || Q != PVALUE+5)
	begin
	   $display ("FAILED - Initialised values P in par_enum were not elaborated properly");
	   $finish;
	end

      if (S0 != LVALUE+0 || S1 != LVALUE+1 || S2 != LVALUE+2)
	begin
	   $display ("FAILED - Initialised values S in par_enum were not elaborated properly");
	   $finish;
	end
      #1;

      if ( par_enum.num != 9)
	begin
	   $display ("FAILED - The num method does not report as expected");
	   $finish;
	end
      $display ("PASSED");
   end

endmodule
module test;

   parameter    PVALUE = 12;
   localparam   LVALUE = 88;
   enum { P[5] = PVALUE, Q, S[3] = LVALUE } par_enum;

   initial begin

      if (P0 != PVALUE+0 || P1 != PVALUE+1 || P2 != PVALUE+2 || P3 != PVALUE+3 || P4 != PVALUE + 4 || Q != PVALUE+5)
	begin
	   $display ("FAILED - Initialised values P in par_enum were not elaborated properly");
	   $finish;
	end

      if (S0 != LVALUE+0 || S1 != LVALUE+1 || S2 != LVALUE+2)
	begin
	   $display ("FAILED - Initialised values S in par_enum were not elaborated properly");
	   $finish;
	end
      #1;

      if ( par_enum.num != 9)
	begin
	   $display ("FAILED - The num method does not report as expected");
	   $finish;
	end
      $display ("PASSED");
   end

endmodule