Commit ab87e6a0 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Add stand-alone deriving test

parent 92de8d08
......@@ -11,4 +11,5 @@ test('drv010', normal, compile, [''])
test('drv011', normal, compile, [''])
test('drv012', normal, compile, [''])
test('drv013', normal, compile, [''])
test('drv014', normal, compile, [''])
test('drv020', normal, compile, [''])
module ShouldCompile where
data T a = T1 a | T2
newtype N = MkN Int
derive instance Eq (T a)
derive instance Num N
derive instance Eq N
derive instance Show N
......@@ -9,3 +9,4 @@ test('drvfail007', normal, compile_fail, [''])
test('drvfail008', normal, compile_fail, [''])
test('drvfail009', normal, compile_fail, [''])
test('drvfail010', normal, compile_fail, [''])
test('drvfail011', normal, compile_fail, [''])
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