verilator/test_regress/t/t_for_comma_bad.v
2019-01-22 19:25:00 -05:00

34 lines
941 B
Verilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2003 by Wilson Snyder.
module t (/*AUTOARG*/);
integer a, b;
initial begin
for (; ; ) ;
for (; ; a=a+1) ;
for (; ; a=a+1, b=b+1) ;
for (; a<1; ) ;
for (; a<1; a=a+1) ;
for (; a<1; a=a+1, b=b+1) ;
for (a=0; a<1; ) ;
for (a=0; a<1; a=a+1) ;
for (a=0; a<1; a=a+1, b=b+1) ;
for (integer a=0; a<1; ) ;
for (integer a=0; a<1; a=a+1) ;
for (integer a=0; a<1; a=a+1, b=b+1) ;
for (var integer a=0; a<1; ) ;
for (var integer a=0; a<1; a=a+1) ;
for (var integer a=0; a<1; a=a+1, b=b+1) ;
for (integer a=0, integer b=0; a<1; ) ;
for (integer a=0, integer b=0; a<1; a=a+1) ;
for (integer a=0, integer b=0; a<1; a=a+1, b=b+1) ;
$write("*-* All Finished *-*\n");
$finish;
end
endmodule