summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists/should_run/overloadedlistsrun02.hs
blob: a6b9bb8edec2cd7f15510c9a27215463ab9444b2 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE OverloadedLists, TypeFamilies #-}

import qualified Data.Set as S
import GHC.Exts

main = do print ([] :: (S.Set Int))
          print (['a','b','c'] :: (S.Set Char))
          print (['a','c'..'g'] :: (S.Set Char))