summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/T10999.hs
blob: 07d86ffe9643429cd61fa08549ca8ff04f00876f (plain)
1
2
3
4
5
6
7
8
module T10999 where

import qualified Data.Set as Set

f :: () -> _
f _ = Set.fromList undefined

g = map fst $ Set.toList $ f ()