summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T10689.hs
blob: d0ee7065df7b52bf252d892a49157fb52912717b (plain)
1
2
3
4
5
6
7
8
9
10
11
module T10694 where

f :: Eq a => a -> Bool
{-# NOINLINE f #-}
f x = x==x

type Foo a b = b

{-# RULES "foo" forall (x :: Foo a Char). f x = True #-}

finkle = f 'c'