summaryrefslogtreecommitdiff
path: root/testsuite/tests/cpranal/should_compile/T18109.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/cpranal/should_compile/T18109.hs')
-rw-r--r--testsuite/tests/cpranal/should_compile/T18109.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/cpranal/should_compile/T18109.hs b/testsuite/tests/cpranal/should_compile/T18109.hs
index 5c52a187c9..fb79c749a3 100644
--- a/testsuite/tests/cpranal/should_compile/T18109.hs
+++ b/testsuite/tests/cpranal/should_compile/T18109.hs
@@ -14,8 +14,8 @@ f n = F (+n)
data T = T (Int, Int)
-g :: T -> T
-g t@(T p) = p `seq` t
+g :: (Int, Int) -> T
+g p = p `seq` T p
{-# NOINLINE g #-}
data U = U ![Int]