summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail16.hs
blob: fc70df1fd8e757908660b75b98de7a74eefb0c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE TypeFamilies #-}

module ShouldFail where

type family F a

foo :: p a -> p a
foo x = x

bar = foo (undefined :: F ())