mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-19 10:52:03 +00:00
fixup! const2ast: add diagnostics tests
This commit is contained in:
parent
49cd3887a7
commit
4276756f32
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
logger -expect prefix-error "<<EOT:2: ERROR: Digit larger than 1 used in in base-2 constant." 1
|
||||
read_verilog <<EOT
|
||||
module test (y);
|
||||
output signed [2:0] y = 1'b1;
|
||||
output signed [2:0] y = 1'bf;
|
||||
endmodule
|
||||
EOT
|
||||
dump
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue