summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T18862b.hs
blob: 7259547b7cfd888b9249601dc9928cbe0e4c3332 (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS -Wcompat -Wno-error=type-equality-out-of-scope #-}

module T18862b where

import Prelude (id)

f :: (a ~ b) => a -> b
f = id