\scan_new:N
  \foo_bar  % warning on this line
