data/full_repos/permissive/143278/ivltests/wait1.v
 line:27: before: "begin"
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/wait1.v:25: Unsupported: Ignoring delay on this delayed statement.\n   initial #10 foo = 1;\n           ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/143278/ivltests/wait1.v:34: Unsupported: wait statements\n      wait (foo) ;\n      ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/wait1.v:27: Unsupported: Ignoring delay on this delayed statement.\n   initial #1 begin\n           ^\n%Error: Exiting due to 1 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main;

   reg foo = 0;

   initial #10 foo = 1;

   initial #1 begin
      if (foo !== 1'b0) begin
	 $display("FAILED -- foo before wait is %b", foo);
	 $finish;
      end


      wait (foo) ;

      if (foo !== 1'b1) begin
	 $display("FAILED -- foo after wait is %b", foo);
	 $finish;
      end

      if ($time != 10) begin
	 $display("FAILED -- $time after wait is %t", $time);
	 $finish;
      end

      $display("PASSED");
   end

endmodule
module main;


   reg foo = 0;

   initial #10 foo = 1;

   initial #1 begin
      if (foo !== 1'b0) begin
	 $display("FAILED -- foo before wait is %b", foo);
	 $finish;
      end


      wait (foo) ;

      if (foo !== 1'b1) begin
	 $display("FAILED -- foo after wait is %b", foo);
	 $finish;
      end

      if ($time != 10) begin
	 $display("FAILED -- $time after wait is %t", $time);
	 $finish;
      end

      $display("PASSED");
   end

endmodule