summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_compile/T20245.hs
blob: 1196987cf9867262b9a9ed05cf355b5c41f87c11 (plain)
1
2
3
4
5
6
7
8
9
module T20245 where

import GHC.Num.Integer

foo :: Int
foo = case 2 of
  IS _ -> 9999
  IP _ -> 7777
  IN _ -> 7777