T8089 mysteriously fails when GHC is built with LLVM
CircleCI's LLVM build revealed that
T8089 fails. The test is quite simple,
main = threadDelay maxBound
and is expected to timeout. However, it somehow exits with code 0 in all ways when built with LLVM.
This didn't reproduce when I tried
make test TEST=T8089 EXTRA_HC_OPTS=-fllvm locally, so either it's a library issue or environment-sensitive.