data/full_repos/permissive/143278/ivltests/always_latch_fail4.v
 line:4: before: ";"
1: b'%Error: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:4: Unsupported: event data types\n  event foo;\n  ^~~~~\n%Error: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:8: Unsupported: fork statements\n    fork\n    ^~~~\n%Error: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:11: Unsupported: fork statements\n    fork\n    ^~~~\n%Error: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:14: Unsupported: fork statements\n    fork\n    ^~~~\n%Error: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:17: syntax error, unexpected \'@\', expecting TYPE-IDENTIFIER\n    a <= @foo 1\'b1;\n         ^\n%Error: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:19: Unsupported: wait statements\n    wait (!a) $display("wait");\n    ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/always_latch_fail4.v:22: Unsupported: Ignoring delay on this delayed statement.\n  initial #1 $display("Expect compile errors!");\n          ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: Exiting due to 6 error(s), 1 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module top;
  reg a, b;
  reg q, d;
  event foo;

  always_latch begin
    q <= d;
    fork
      $display("fork/join 1");
    join
    fork
      $display("fork/join_any 1");
    join_any
    fork
      $display("fork/join_none 1");
    join_none
    a <= @foo 1'b1;
    @(b) a <= repeat(2) @foo 1'b0;
    wait (!a) $display("wait");
  end

  initial #1 $display("Expect compile errors!");

endmodule
module top;

  reg a, b;
  reg q, d;
  event foo;

  always_latch begin
    q <= d;
    fork
      $display("fork/join 1");
    join
    fork
      $display("fork/join_any 1");
    join_any
    fork
      $display("fork/join_none 1");
    join_none
    a <= @foo 1'b1;
    @(b) a <= repeat(2) @foo 1'b0;
    wait (!a) $display("wait");
  end

  initial #1 $display("Expect compile errors!");

endmodule