verilator/test_regress/t/t_sys_fopen_bad.v
2022-12-29 20:18:28 -05:00

18 lines
464 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// Copyright 2022 by Wilson Snyder. This program is free software; you can
// redistribute it and/or modify it under the terms of either the GNU
// Lesser General Public License Version 3 or the Perl Artistic License
// Version 2.0.
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
module t ();
integer file;
initial begin
file = $fopen("/dev/null", "somereallywidebad");
end
endmodule