summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeInfered/SafeInfered05_A.hs
blob: a1e12a6526adc633f5bb0731a2450c846a5dd0b9 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE FlexibleInstances #-}
module SafeInfered05_A where

class C a where
  f :: a -> String

instance C [Int] where
  f _ = "[Int]"