\cs_new:Npn
 \example_foo:nnn
 #1#2#3
 { foo~#4 }  % error on this line