Files
sv2v/test/error/size_cast_xpr_lit.sv
Zachary Snow 96a108ded7 constant folding extensions
- fold string literal comparisons
- fold non-decimal bit shifts
- fold non-decimal integer comparisons
- fold decimal bitwise AND and OR
- simplify cast expressions before elaboration
- remove duplicate cast expression traversal
- flatten concatenated numbers in a single pass
2022-12-24 01:12:50 -07:00

6 lines
156 B
Systemverilog

// pattern: size cast width 'shxxxxxxxx is not an integer
// location: size_cast_xpr_lit.sv:4:13
module top;
initial $display((1 << 'x)'(2));
endmodule