%Error: t/t_func_tie_bad.v:10: Function/task output connected to constant instead of variable: 'b'
func(0, 1'b1);
^~~~
%Error: Exiting due to