data/full_repos/permissive/143278/ivltests/always3.1.9C.v
 line:34: before: ";"
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/always3.1.9C.v:33: Unsupported: Ignoring delay on this delayed statement.\n    #5;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/always3.1.9C.v:35: Unsupported: Ignoring delay on this delayed statement.\n    #4 ;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/always3.1.9C.v:43: Unsupported: Ignoring delay on this delayed statement.\nalways #6 disable foo ;\n       ^\n%Error: data/full_repos/permissive/143278/ivltests/always3.1.9C.v:43: disable isn\'t underneath a begin with name: \'foo\'\nalways #6 disable foo ;\n          ^~~~~~~\n%Error: Exiting due to 1 error(s), 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main ;


reg [3:0] value1 ;

task foo ;
  value1 = #2  1;
endtask

initial
  begin
    value1 = 1'b0;
    #5;
    foo ;
    #4 ;
    if(value1 === 1'b0)
      $display("PASSED");
    else
      $display("FAILED - always3.1.9C always #2 disable foo");
    $finish ;
  end

always #6 disable foo ;

endmodule
module main ;



reg [3:0] value1 ;

task foo ;
  value1 = #2  1;
endtask

initial
  begin
    value1 = 1'b0;
    #5;
    foo ;
    #4 ;
    if(value1 === 1'b0)
      $display("PASSED");
    else
      $display("FAILED - always3.1.9C always #2 disable foo");
    $finish ;
  end

always #6 disable foo ;

endmodule