\str_new:N
  \l_example_str
\tl_const:Nn
  \c_example_tl
  { foo }
\str_set_eq:NN  % error on this line
  \l_example_str
  \c_example_tl
