summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/Roles5.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/Roles5.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/Roles5.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/Roles5.stderr b/testsuite/tests/deriving/should_fail/Roles5.stderr
new file mode 100644
index 0000000000..2a58a8a0ed
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/Roles5.stderr
@@ -0,0 +1,15 @@
+
+Roles5.hs:3:8:
+ Illegal role annotation
+ Perhaps you intended to use -XRoleAnnotations
+ In the data type declaration for ‛T’
+
+Roles5.hs:4:9:
+ Illegal role annotation
+ Perhaps you intended to use -XRoleAnnotations
+ In the declaration for class C
+
+Roles5.hs:5:8:
+ Illegal role annotation
+ Perhaps you intended to use -XRoleAnnotations
+ In the declaration for type synonym ‛S’