verilator/test_regress/t/t_sys_fscanf_bad.v
2022-11-05 11:40:34 -04:00

19 lines
422 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;
integer file;
integer i;
initial begin
$fscanf(file, "%l", i); // Bad
$fscanf(file, "%m", i); // Bad
$write("*-* All Finished *-*\n");
$finish;
end
endmodule