%Error: t/t_gen_missing_bad2.v:8:8: Expecting expression to be constant, but can't convert a TESTPLUSARGS to constant.
                                  : ... In instance t
    8 |    if ($test$plusargs("BAD-non-constant")) begin
      |        ^~~~~~~~~~~~~~
%Error: t/t_gen_missing_bad2.v:8:8: Generate If condition must evaluate to constant
                                  : ... In instance t
    8 |    if ($test$plusargs("BAD-non-constant")) begin
      |        ^~~~~~~~~~~~~~
%Error: t/t_gen_missing_bad2.v:12:7: Expecting expression to be constant, but can't convert a TESTPLUSARGS to constant.
                                   : ... In instance t
   12 |       $test$plusargs("BAD-non-constant"): initial $stop;
      |       ^~~~~~~~~~~~~~
%Error: t/t_gen_missing_bad2.v:12:41: Generate Case item does not evaluate to constant
                                    : ... In instance t
   12 |       $test$plusargs("BAD-non-constant"): initial $stop;
      |                                         ^
%Error: Exiting due to
