As long as the pipe doesn't contain anything (like water) that could freeze, it should be alright. You might try to cover the ground with plastic as well (or even drainage tile to a lower part of the yard) if there is frequent water collecting in the basement. It all depends on how much water you are getting.