summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2022-03-10 23:42:49 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-12 07:02:40 -0500
commitcf081476eb60ba8d65335234b654b457154b9d83 (patch)
tree1d7ae8f04797c0e69f4e6f643e9e4a5103a5bc5f /testsuite
parente40cf4ef6cab8e02fcd34efdf98f1715bfa7315c (diff)
downloadhaskell-cf081476eb60ba8d65335234b654b457154b9d83.tar.gz
checkUnboxedLitPat: use non-fatal addError
This enables GHC to report more parse errors in a single pass.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/corelint/T21115.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/corelint/T21115.stderr b/testsuite/tests/corelint/T21115.stderr
index cb4f3a3e4f..e7b69f8131 100644
--- a/testsuite/tests/corelint/T21115.stderr
+++ b/testsuite/tests/corelint/T21115.stderr
@@ -2,3 +2,11 @@
T21115.hs:10:5: error:
Illegal unboxed floating point literal in pattern:
0.0##
+
+T21115.hs:11:5: error:
+ Illegal unboxed floating point literal in pattern:
+ 2.0##
+
+T21115.hs:12:5: error:
+ Illegal unboxed floating point literal in pattern:
+ -0.0##