summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/T2846b.hs
blob: 87468df87ea7f1fec7c5798ff2a7d4b7c2c61110 (plain)
1
2
3
4
5
6
{-# LANGUAGE ImpredicativeTypes, FlexibleContexts #-}
module T2846 where

f :: String
f = show ([1,2,3] :: [Num a => a])