verilator/test_regress/t/t_randomize_method_complex_...

9 lines
458 B
Plaintext

%Error: t/t_randomize_method_complex_bad.v:18:7: 'randomize() with' on a non-class-instance 'int'
18 | i.randomize() with { v < 5; });
| ^~~~~~~~~
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Error: t/t_randomize_method_complex_bad.v:18:26: Can't find definition of variable: 'v'
18 | i.randomize() with { v < 5; });
| ^
%Error: Exiting due to