summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T17775.hs
blob: b10f0725f5b68ab46a76900cb9b780ff80ca8486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RankNTypes #-}

module T1 where



g :: Int -> Char

g _ = 'a'



f :: Int -> Show Int => ()
f = g