Commit 5124d8ce authored by simonpj's avatar simonpj
Browse files

[project @ 2002-06-21 13:30:45 by simonpj]

Test recursive newtype deriving
parent 38cd36a9
......@@ -160,3 +160,4 @@ test "tc155" { myvtc("") }
test "tc156" { myvtc("") }
test "tc157" { myvtc("") }
test "tc158" { myvtc("") }
test "tc159" { myvtc("") }
{-# OPTIONS -fglasgow-exts #-}
-- Don't do the cunning new newtype-deriving thing
-- when the type constructor is recursive
module ShouldCompile where
newtype A = A [A] deriving (Eq)
test :: A -> A -> Bool
test x y = x == y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment