Revert "remove regress.c"

This reverts commit 5410e192b583a2369e0569cd26b9a8c2b95c8e38.