verilator/test_regress/t/t_func_task_bad.out

10 lines
477 B
Plaintext
Raw Normal View History

%Error: t/t_func_task_bad.v:10:11: Cannot call a task/void-function as a function: 'task_as_func'
: ... note: In instance 't'
10 | if (task_as_func(1'b0)) $stop;
| ^~~~~~~~~~~~
%Error: t/t_func_task_bad.v:10:7: Logical operator IF expects a non-complex data type on the If.
: ... note: In instance 't'
10 | if (task_as_func(1'b0)) $stop;
| ^~
%Error: Exiting due to