File: t_class_new_bad.out

package info (click to toggle)
verilator 5.032-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 93,932 kB
  • sloc: cpp: 131,288; python: 19,365; ansic: 10,234; yacc: 5,733; lex: 1,905; makefile: 1,229; sh: 489; perl: 282; fortran: 22
file content (20 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%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);   
      |                ^
%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];
      |            ^~~