verilator/test_regress/t/t_lint_contassreg_bad.v

17 lines
293 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2012 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t(r);
output r;
reg r;
assign r = 1'b0; // Bad
endmodule