1
0
mirror of https://github.com/verilator/verilator.git synced 2025-04-09 14:12:39 +00:00
verilator/test_regress/t/t_mailbox_bad.v

18 lines
405 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2022 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t(/*AUTOARG*/);
mailbox #(int) m;
initial begin
m = new(4);
if (m.bad_method() != 0) $stop;
$write("*-* All Finished *-*\n");
$finish;
end
endmodule