The nature of a three-dimensional viscous flow along a corner near its junction has been clarified in this paper by constructing a Stokes slow-flow solution. We have further demonstrated that this Stokes solution can be matched onto an inertial-flow solution in principle by establishing an overlap domain along one sector of an inertial-flow region, namely along the flow symmetry line. This Stokes solution reveals a remarkably complex structure of the flow as characterized by a separating streamwise velocity profile in addition to a sequence of Moffatt's viscous eddies in a cross-flow plane.