Files
sv2v/test/lex/begin_keywords.sv
Zachary Snow 0a7b0250e7 fix 1364-2001 and 1364-2001-noconfig keywords mixup
- swap 1364-2001 and 1364-2001-noconfig
- fix existing begin_keywords test
- add keyword test suite for all keywords
2023-05-15 22:21:23 -04:00

24 lines
438 B
Systemverilog

`begin_keywords "1364-1995"
task foo;
integer automatic = 2;
$display(automatic * automatic);
endtask
`begin_keywords "1364-2005"
task automatic bar;
integer logic = 3;
$display(logic * logic);
endtask
`end_keywords
`end_keywords
`begin_keywords "1364-2001-noconfig"
task baz;
integer cell = 3;
$display(cell ** cell);
endtask
`end_keywords
module top;
initial foo;
initial bar;
initial baz;
endmodule