summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T15325.hs
blob: 3a0407bfcb80ab140c8fcc65777f4349ea83a634 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# OPTIONS_GHC -fdefer-type-errors #-}
module T15325 where

class PolyList e where
     polyList :: e -> ()

f :: PolyList e => e -> ()
f x = polyList x

plh :: ()
plh = f 0