Double-charm tetraquark under the complex scaling method