{
  \cs_new:Npn
    \example_foo:w
    #1 }  % error on this line
    { foo~#1 }
