verilator/test_regress/t/t_class_new_bad.out

23 lines
1.2 KiB
Plaintext

%Error: t/t_class_new_bad.v:31:16: Too many arguments in function call to FUNC 'new'
: ... note: In instance 't'
31 | c1 = new(3);
| ^
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Error: t/t_class_new_bad.v:32:16: Too many arguments in function call to FUNC 'new'
: ... note: In instance 't'
32 | c2 = new(3);
| ^
%Error: t/t_class_new_bad.v:33:12: Missing argument on non-defaulted argument 'i' in function call to FUNC 'new'
: ... note: In instance 't'
33 | c3 = new();
| ^~~
%Error: t/t_class_new_bad.v:34:12: dynamic new() not expected in this context (data type must be dynamic array)
: ... note: In instance 't'
34 | c1 = new[2];
| ^~~
%Error: Internal Error: t/t_class_new_bad.v:34:12: ../V3Width.cpp:#: Node has no type
: ... note: In instance 't'
34 | c1 = new[2];
| ^~~
... This fatal error may be caused by the earlier error(s); resolve those first.