verilator/test_regress/t/t_pli_bad.v

17 lines
421 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2019 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t;
integer i;
initial begin
$unknown_pli_task;
$unknown_pli_task("arg", i);
i = $unknown_pli_function;
i = $unknown_pli_function("arg", i);
$stop;
end
endmodule