summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T2846.hs
blob: 43ad7510fcdae7c44315a79f6db45a17c24c9552 (plain)
1
2
3
4
{-# LANGUAGE ImpredicativeTypes, FlexibleContexts #-}
module T2846 where

x = [1,2,3] :: [Num a => a]