blob: d83e7a34c8eb7d6eedcda7b1d6418060004a89d6 (
plain)
1
2
3
4
5
6
7
8
9
|
-- The type sig mentions a type variable that doesn't appear in
-- the type. This one killed GHC 5.03, in a trivial way.
module ShouldCompile where
type T a = () -> ()
f :: T a
f () = ()
|