Files
sv2v/test/error/size_cast_x_lit.sv
Zachary Snow 84edbae503 preliminary scoped errors with approximate source location
- scoped traversals can now raise errors which contain the path of the
  current scope and an approximate source location based on preceding
  trace comments, if available
- initially, this new error messaging has only been added for the
  illegal size cast checks in the TypeOf and Cast conversions
- error suite tests can provide a verbose mode expected source location
2021-10-06 22:17:41 -06:00

6 lines
144 B
Systemverilog

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