mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 10:20:24 +00:00
Add logic param and integer bad syntax tests
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
This commit is contained in:
parent
7e83a51fc9
commit
b422f2e4d0
3 changed files with 21 additions and 0 deletions
6
tests/various/integer_real_bad_syntax.ys
Normal file
6
tests/various/integer_real_bad_syntax.ys
Normal file
|
@ -0,0 +1,6 @@
|
|||
logger -expect error "syntax error, unexpected TOK_REAL" 1
|
||||
read_verilog -sv <<EOT
|
||||
module test_integer_real();
|
||||
parameter integer real a = 0;
|
||||
endmodule
|
||||
EOT
|
Loading…
Add table
Add a link
Reference in a new issue