apparently we have taken a step backwards in the IRC.....If you have precast panels you can dump into the sewer.......
R405.1.1 Precast concrete foundation. Precast concrete walls that retain earth and enclose habitable or useable space located below-grade that rest on crushed stone footings shall have a perforated drainage pipe installed below the base of the wall on either the interior or exterior side of the wall, at least one foot (305 mm) beyond the edge of the wall. If the exterior drainage pipe is used, an approved filter membrane material shall cover the pipe. The drainage system shall discharge into an approved sewer system or to daylight.
Of course it depends on who is APPROVING.....
Conarb, I do not think it is in any "code", only thing I can think of is listing or standard of pipe......Which I am not going to chase, someone smarter than me can. I have my basement sump (can't hit daylight) tied into my piping that brings my rain leaders out to my low lot corner with a check and full open valve, I would never do it at footing level, but the 2 systems can be tied together safely IMHO....
I didn't see anything in IRC Ch 4 or IPC Ch 11....