Commit 19b9798c authored by simonpj's avatar simonpj
Browse files

[project @ 2001-12-21 10:29:16 by simonpj]

Add simple deriving test
parent 5d680ce4
......@@ -144,3 +144,4 @@ test "tc137" { myvtc("") }
test "tc140" { myvtc("") }
test "tc141" { myvtc("") }
test "tc142" { myvtc("") }
test "tc143" { myvtc("") }
-- These two declarations get their derived instances
-- in two different ways
module ShouldCompile where
newtype Bar = Bar Int deriving Eq
data Baz = Baz Bar deriving Eq
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