Fix T15502 on 32-bit
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Fri, 14 Sep 2018 12:38:42 +0000 (14:38 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Fri, 14 Sep 2018 12:38:43 +0000 (14:38 +0200)
Summary:
The expected output uses a hardcoded value for
maxBound :: Int.

This should fix one of circleci failures on i386.

Test Plan: make test TEST=T15502

Reviewers: RyanGlScott, bgamari

Reviewed By: RyanGlScott

Subscribers: rwbarton, carter

GHC Trac Issues: #15502

Differential Revision: https://phabricator.haskell.org/D5151

testsuite/tests/th/T15502.stderr-ws-32 [new file with mode: 0644]
testsuite/tests/th/T15502.stderr-ws-64 [moved from testsuite/tests/th/T15502.stderr with 100% similarity]

diff --git a/testsuite/tests/th/T15502.stderr-ws-32 b/testsuite/tests/th/T15502.stderr-ws-32
new file mode 100644 (file)
index 0000000..ba7b91c
--- /dev/null
@@ -0,0 +1,4 @@
+T15502.hs:7:19-56: Splicing expression
+    lift (toInteger (maxBound :: Int) + 1) ======> 2147483648
+T15502.hs:8:19-40: Splicing expression
+    lift (minBound :: Int) ======> (-2147483648)