[Git][ghc/ghc][master] Add regression test for #23229

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Apr 12 16:33:48 UTC 2023



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
690d0225 by Rodrigo Mesquita at 2023-04-12T12:33:33-04:00
Add regression test for #23229

- - - - -


3 changed files:

- + testsuite/tests/ghci/should_run/T23229.hs
- + testsuite/tests/ghci/should_run/T23229.script
- testsuite/tests/ghci/should_run/all.T


Changes:

=====================================
testsuite/tests/ghci/should_run/T23229.hs
=====================================
@@ -0,0 +1 @@
+instance Num Bool


=====================================
testsuite/tests/ghci/should_run/T23229.script
=====================================
@@ -0,0 +1 @@
+:l T23229


=====================================
testsuite/tests/ghci/should_run/all.T
=====================================
@@ -88,3 +88,4 @@ test('UnliftedDataType2', just_ghci, compile_and_run, [''])
 test('SizedLiterals', [req_interp, extra_files(["SizedLiteralsA.hs"]),extra_hc_opts("-O -fbyte-code-and-object-code -fprefer-byte-code")], compile_and_run, [''])
 
 test('T22829', just_ghci + [extra_hc_opts("-Wmissing-import-lists -Werror")], compile_and_run, [''])
+test('T23229', just_ghci + [extra_hc_opts("-this-unit-id my-package -Wno-missing-methods T23229")], ghci_script, ['T23229.script'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/690d0225d297a8c5c423ec4e63ee709df9d96d47

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/690d0225d297a8c5c423ec4e63ee709df9d96d47
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230412/61598747/attachment.html>


More information about the ghc-commits mailing list