summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/T18932.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/pmcheck/should_compile/T18932.stderr')
-rw-r--r--testsuite/tests/pmcheck/should_compile/T18932.stderr19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/T18932.stderr b/testsuite/tests/pmcheck/should_compile/T18932.stderr
new file mode 100644
index 0000000000..7f6d813ada
--- /dev/null
+++ b/testsuite/tests/pmcheck/should_compile/T18932.stderr
@@ -0,0 +1,19 @@
+
+T18932.hs:10:1: warning: [-Woverlapping-patterns (in -Wdefault)]
+ Pattern match is redundant
+ In an equation for ‘f’: f (MkT2 y) = ...
+
+T18932.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)]
+ Pattern match(es) are non-exhaustive
+ In an equation for ‘f'’:
+ Patterns of type ‘T a’ not matched: MkT2 _
+
+T18932.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)]
+ Pattern match(es) are non-exhaustive
+ In an equation for ‘g’:
+ Patterns of type ‘T a’, ‘T a’, ‘T a’ not matched:
+ (MkT2 _) (MkT1 _) (MkT1 _)
+ (MkT2 _) (MkT1 _) (MkT2 _)
+ (MkT2 _) (MkT2 _) (MkT1 _)
+ (MkT2 _) (MkT2 _) (MkT2 _)
+ ...