Skip to content
GitLab
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
571a5b24
Commit
571a5b24
authored
Sep 24, 2008
by
Ian Lynagh
Browse files
Add a test for ":i thisIsNotDefined"
It used to make ghci exit
parent
79d4646f
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/ghci/scripts/all.T
View file @
571a5b24
...
...
@@ -47,6 +47,7 @@ test('ghci030', normal, ghci_script, ['ghci030.script'])
test
('
ghci031
',
expect_broken
(
2138
),
ghci_script
,
['
ghci031.script
'])
test
('
ghci032
',
normal
,
ghci_script
,
['
ghci032.script
'])
test
('
ghci033
',
normal
,
ghci_script
,
['
ghci033.script
'])
test
('
ghci034
',
normal
,
ghci_script
,
['
ghci034.script
'])
test
('
2452
',
normal
,
ghci_script
,
['
2452.script
'])
test
('
1914
',
...
...
testsuite/tests/ghc-regress/ghci/scripts/ghci034.script
0 → 100644
View file @
571a5b24
:i thisIsNotDefined
-- In 6.9, GHCi used to exit at this point
putStrLn "Foo"
testsuite/tests/ghc-regress/ghci/scripts/ghci034.stderr
0 → 100644
View file @
571a5b24
Top level: Not in scope: `thisIsNotDefined'
testsuite/tests/ghc-regress/ghci/scripts/ghci034.stdout
0 → 100644
View file @
571a5b24
Foo
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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