Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
bbdacb83
Commit
bbdacb83
authored
Feb 21, 2007
by
simonpj
Browse files
Test for derivign
parent
f06d2707
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deriving/should_compile/all.T
View file @
bbdacb83
...
...
@@ -12,4 +12,5 @@ test('drv011', normal, compile, [''])
test
('
drv012
',
normal
,
compile
,
[''])
test
('
drv013
',
normal
,
compile
,
[''])
test
('
drv014
',
normal
,
compile
,
[''])
test
('
drv015
',
normal
,
compile
,
[''])
test
('
drv020
',
normal
,
compile
,
[''])
testsuite/tests/ghc-regress/deriving/should_compile/drv015.hs
0 → 100644
View file @
bbdacb83
{-# OPTIONS -fglasgow-exts #-}
module
ShouldCompile
where
newtype
Pair1
f
g
a
=
Pair1
{
unPair1
::
(
f
a
,
g
a
)}
deriving
(
Eq
,
Ord
,
Show
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment