Skip to content

Commit

Permalink
Test Trac #7916
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Peyton Jones committed May 22, 2013
1 parent a4d191e commit 91d5c4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/polykinds/T7916.hs
@@ -0,0 +1,9 @@
{-# LANGUAGE PolyKinds, ExplicitForAll #-}
module T7916 where


f :: forall (m :: k -> *) (a :: k). m a -> m a
f = id

-- g :: forall (m :: k -> *) (a :: k). m a -> m a
g x = f x
1 change: 1 addition & 0 deletions tests/polykinds/all.T
Expand Up @@ -86,3 +86,4 @@ test('T7594', normal, compile_fail,[''])
test('T7524', normal, compile_fail,[''])
test('T7601', normal, compile,[''])
test('T7805', normal, compile_fail,[''])
test('T7916', normal, compile,[''])

0 comments on commit 91d5c4d

Please sign in to comment.