data/full_repos/permissive/441359809/src/yosys/tests/opt/opt_share_add_sub.v
1: b"%Error: data/full_repos/permissive/441359809/src/yosys/tests/opt/opt_share_add_sub.v:6: syntax error, unexpected ')', expecting '['\n  );\n  ^\n%Error: Exiting due to 1 error(s)\n"
module opt_share_test(
  input [15:0]  a,
  input [15:0]  b,
  input         sel,
  output [15:0] res,
  );

  assign res = {sel ? a + b : a - b};

endmodule
module opt_share_test(
  input [15:0]  a,
  input [15:0]  b,
  input         sel,
  output [15:0] res,
  );


  assign res = {sel ? a + b : a - b};

endmodule