\msg_log:n  % error on this line
  {
    Foo~bar~
    \c_one_thousand  % error on this line
  }
