The present invention relates to a leadframe having slits around a semiconductor device forming area to absorb distortion or warpage of the leadframe because of the difference in the coefficients of thermal expansion of the leadframe and a sealing resin. The present invention is directed to limiting shifting of the outer leads caused by distortion or contraction of the leadframe and preventing cutting of the outer leads in a tie bar cutting process. To achieve these goals, positioning holes are provided on the inner portion of the leadframe in the vicinity of the tie bars at the three corners of the semiconductor device forming area but not at a corner where the resin injecting portion is located.