summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/T7294.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/gadt/T7294.stderr')
-rw-r--r--testsuite/tests/gadt/T7294.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/gadt/T7294.stderr b/testsuite/tests/gadt/T7294.stderr
new file mode 100644
index 0000000000..bfb64966fc
--- /dev/null
+++ b/testsuite/tests/gadt/T7294.stderr
@@ -0,0 +1,9 @@
+
+T7294.hs:25:5: Warning:
+ Couldn't match type ‛'False’ with ‛'True’
+ Inaccessible code in
+ a pattern with constructor
+ Nil :: forall a. Vec a 'Zero,
+ in an equation for ‛nth’
+ In the pattern: Nil
+ In an equation for ‛nth’: nth Nil _ = undefined