summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal/should_compile/T10482.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/stranal/should_compile/T10482.hs')
-rw-r--r--testsuite/tests/stranal/should_compile/T10482.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/stranal/should_compile/T10482.hs b/testsuite/tests/stranal/should_compile/T10482.hs
index ef7c29c4be..d9bbe8bd8b 100644
--- a/testsuite/tests/stranal/should_compile/T10482.hs
+++ b/testsuite/tests/stranal/should_compile/T10482.hs
@@ -11,4 +11,4 @@ foo !f k =
if k == 0 then 0
else if even k then foo f (k-1)
else case f of
- FooPair (FooPair (Foo n) _) _ -> n
+ FooPair (FooPair (Foo n) _) _ -> n+1 -- +1 so that we'll unbox