diff options
-rwxr-xr-x | testsuite/tests/pmcheck/should_compile/genG | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/genG b/testsuite/tests/pmcheck/should_compile/genG index f5705213ec..7c062aefc2 100755 --- a/testsuite/tests/pmcheck/should_compile/genG +++ b/testsuite/tests/pmcheck/should_compile/genG @@ -35,6 +35,8 @@ g :: () g END -for i in $(seq -w 1 $SIZE); do +i=1 +while test $i -lt $SIZE; do echo " | (A, A) <- f $i = ()" >> $MODULE.hs + i=$((i+1)) done |