forked from github/verilator
52912c6329
- Change .cvsignore to .gitignore - Remove Id metacomments - Cleanup whitespace at end of lines
24 lines
596 B
Verilog
24 lines
596 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2005 by Wilson Snyder.
|
|
|
|
module t;
|
|
|
|
integer varfirst;
|
|
sub varfirst (); // Error: Cell hits var
|
|
task varfirst; begin end endtask // Error: Task hits var
|
|
|
|
sub cellfirst ();
|
|
integer cellfirst; // Error: Var hits cell
|
|
task cellfirst; begin end endtask // Error: Task hits cell
|
|
|
|
task taskfirst; begin end endtask
|
|
integer taskfirst; // Error: Var hits task
|
|
sub taskfirst (); // Error: Cell hits task
|
|
|
|
endmodule
|
|
|
|
module sub;
|
|
endmodule
|