summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T5458.hs
blob: 8b881a59d3403c7a70acda7146f2365fd534ffcd (plain)
1
2
3
4
5
6
7
8
module Foo where

type T a = Int

f :: T a -> Bool -> [Int]
f x b = case b of
               True  -> f x b
               False -> x : f x (x > 19)