verilator/test_regress/t/t_class_new_bad.out

25 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-04-12 22:57:12 +00:00
%Error: t/t_class_new_bad.v:31:16: Too many arguments in function call to FUNC 'new'
: ... In instance t
2020-04-12 22:57:12 +00:00
31 | c1 = new(3);
| ^
%Error: t/t_class_new_bad.v:32:16: Too many arguments in function call to FUNC 'new'
: ... In instance t
2020-04-12 22:57:12 +00:00
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'
: ... In instance t
2020-04-12 22:57:12 +00:00
33 | c3 = new();
| ^~~
2022-11-05 15:40:34 +00:00
%Error: t/t_class_new_bad.v:34:12: dynamic new() not expected in this context (data type must be dynamic array)
: ... In instance t
34 | c1 = new[2];
| ^~~
%Error: t/t_class_new_bad.v:34:10: Assign RHS expects a CLASSREFDTYPE 'ClsNoArg'
: ... In instance t
34 | c1 = new[2];
| ^
%Error: Internal Error: t/t_class_new_bad.v:34:10: ../V3Width.cpp:#: Node has no type
: ... In instance t
34 | c1 = new[2];
| ^