]> begriffs open source - libtap/commit
Make division by zero test fail pull/36/head 36/head
authorGonzalo Diethelm <gonzalo.diethelm@gmail.com>
Mon, 23 Mar 2020 16:45:33 +0000 (17:45 +0100)
committerGonzalo Diethelm <gonzalo.diethelm@gmail.com>
Mon, 23 Mar 2020 16:45:36 +0000 (17:45 +0100)
commit72bbe878d38856b0f68dd6b261f3f77be5f8e2e2
tree17b78a1245e0706c2a5bd44c119ac47b66bb085d
parent14e6708db5215a657e615171682a1741023c9c0c
Make division by zero test fail

I am guessing on my environment, `x = x/x` gets optimized by the
compiler into `x = 1`, because the test didn't die; now it does.
t/diesok.c