#Japt / GolfScript, 15 bytes
"trick""treat";
Japt implicitly prints the last string literal, "treat"
, the first string "trick"
is basically ignored.
GolfScript pushes both strings to the stack and then the semicolon ;
pops "treat"
and thus only "trick"
remains on the stack which is printed at the end.