diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2014-08-18 21:37:15 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-08-18 23:26:18 -0500 |
commit | 3a67aba2be3a7a6681d4349033c064596ce7fcde (patch) | |
tree | 1a1b53da9c79eb889ae30f591965f0d232da3fe0 /testsuite/tests/ghci | |
parent | a72614c40186521da7ba090b102436e61a80b7a7 (diff) | |
download | haskell-3a67aba2be3a7a6681d4349033c064596ce7fcde.tar.gz |
ghci/scripts/ghci016: Add implementation for negate
Summary: This previously produced a warning
Test Plan: validate
Reviewers: austin
Reviewed By: austin
Subscribers: simonmar, relrod, ezyang, carter
Differential Revision: https://phabricator.haskell.org/D162
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci016.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci016.hs b/testsuite/tests/ghci/scripts/ghci016.hs index 2740a66517..0c86f02d0f 100644 --- a/testsuite/tests/ghci/scripts/ghci016.hs +++ b/testsuite/tests/ghci/scripts/ghci016.hs @@ -13,6 +13,7 @@ instance Num T where (*) = error "urk" abs = error "urk" signum = error "urk" + negate = error "urk" -- Typing 3 at the ghci prompt should print T |