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
08079dc4
Commit
08079dc4
authored
Aug 04, 2007
by
simonpj
Browse files
Test for Trac #1581
parent
6562dc32
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/ghci/scripts/all.T
View file @
08079dc4
...
...
@@ -26,4 +26,5 @@ test('ghci015', ignore_output, ghci_script, ['ghci015.script'])
test
('
ghci016
',
expect_broken
(
552
),
ghci_script
,
['
ghci016.script
'])
test
('
ghci017
',
extra_run_opts
('
-hide-package haskell98
'),
ghci_script
,
['
ghci017.script
'])
test
('
ghci018
',
expect_broken
(
1201
),
ghci_script
,
['
ghci018.script
'])
test
('
ghci019
',
normal
,
ghci_script
,
['
ghci019.script
'])
testsuite/tests/ghc-regress/ghci/scripts/ghci019.hs
0 → 100644
View file @
08079dc4
-- Trac #1581
-- Even though Eq is not in scope unqualified, we want to
-- see the Eq instance of Foo when we say :i Foo
module
Foo
where
import
qualified
Prelude
data
Foo
=
Foo
instance
Prelude
.
Eq
Foo
testsuite/tests/ghc-regress/ghci/scripts/ghci019.script
0 → 100644
View file @
08079dc4
:l ghci019
:i Foo
testsuite/tests/ghc-regress/ghci/scripts/ghci019.stdout
0 → 100644
View file @
08079dc4
data Foo = Foo -- Defined at ghci019.hs:4:5-7
instance Prelude.Eq Foo -- Defined at ghci019.hs:5:0-22
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