t/issue340.t: added