diff options
Diffstat (limited to 'testsuite/tests/unboxedsums/T14051.hs')
-rw-r--r-- | testsuite/tests/unboxedsums/T14051.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/unboxedsums/T14051.hs b/testsuite/tests/unboxedsums/T14051.hs new file mode 100644 index 0000000000..96662a946e --- /dev/null +++ b/testsuite/tests/unboxedsums/T14051.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE UnboxedSums #-} + +module Main where + +import T14051a + +main :: IO () +main = print $ case func () of + (# True | #) -> 123 + _ -> 321 |