summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14761a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T14761a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T14761a.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T14761a.stderr b/testsuite/tests/typecheck/should_fail/T14761a.stderr
new file mode 100644
index 0000000000..8eb4580db4
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T14761a.stderr
@@ -0,0 +1,7 @@
+
+T14761a.hs:3:19:
+ Unexpected UNPACK annotation: {-# UNPACK #-}Maybe
+ UNPACK annotation cannot appear nested inside a type
+ In the type ‘{-# UNPACK #-}Maybe Int’
+ In the definition of data constructor ‘A’
+ In the data declaration for ‘A’