diff options
Diffstat (limited to 'testsuite/tests/stranal/should_compile/T19882b.hs')
-rw-r--r-- | testsuite/tests/stranal/should_compile/T19882b.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/stranal/should_compile/T19882b.hs b/testsuite/tests/stranal/should_compile/T19882b.hs new file mode 100644 index 0000000000..455bd016c1 --- /dev/null +++ b/testsuite/tests/stranal/should_compile/T19882b.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE UnboxedTuples, MagicHash #-} + +module T19882b where + +import GHC.Exts + +f2 :: (# State# RealWorld, Int #) -> Bool -> Int +f2 x True = 1 +f2 x False = f2 x True |