diff options
author | Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> | 2023-04-11 19:27:40 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-04-12 12:33:33 -0400 |
commit | 690d0225d297a8c5c423ec4e63ee709df9d96d47 (patch) | |
tree | 0ecde6a1012049eaf85f0537f5d3ce7332a7a342 | |
parent | ebd8918b7c50ae51921664e24fac0de4376ffcf9 (diff) | |
download | haskell-690d0225d297a8c5c423ec4e63ee709df9d96d47.tar.gz |
Add regression test for #23229
-rw-r--r-- | testsuite/tests/ghci/should_run/T23229.hs | 1 | ||||
-rw-r--r-- | testsuite/tests/ghci/should_run/T23229.script | 1 | ||||
-rw-r--r-- | testsuite/tests/ghci/should_run/all.T | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/should_run/T23229.hs b/testsuite/tests/ghci/should_run/T23229.hs new file mode 100644 index 0000000000..ad2cbf87da --- /dev/null +++ b/testsuite/tests/ghci/should_run/T23229.hs @@ -0,0 +1 @@ +instance Num Bool diff --git a/testsuite/tests/ghci/should_run/T23229.script b/testsuite/tests/ghci/should_run/T23229.script new file mode 100644 index 0000000000..b2bc3ca47c --- /dev/null +++ b/testsuite/tests/ghci/should_run/T23229.script @@ -0,0 +1 @@ +:l T23229 diff --git a/testsuite/tests/ghci/should_run/all.T b/testsuite/tests/ghci/should_run/all.T index 96693241dd..15df5e417c 100644 --- a/testsuite/tests/ghci/should_run/all.T +++ b/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']) |