verilator/test_regress/t/t_func_nansi_dup_bad.v

24 lines
449 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2025 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
typedef int T;
module test;
task t4;
input [7:0] bad4;
reg bad4;
reg bad4; // <--- Error (duplicate)
endtask
task t5;
input [7:0] bad5;
input [7:0] bad5; // <--- Error (duplicate)
reg bad5;
endtask
endmodule