verilator/test_regress/t/t_class_extern_bad.v

17 lines
384 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2020 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
class Base1;
extern task nodef();
extern task nodef(); // <--- Error: duplicate
endclass
task Base1::noproto(); // <--- Error: Missing prototype
endtask
module t;
endmodule