summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T22702a.stderr
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2023-01-03 23:40:48 +0200
committerOleg Grenrus <oleg.grenrus@iki.fi>2023-05-16 07:59:21 +0300
commitbdb93cd28f4a40e9a9f28b0976ca8fa4f250cad2 (patch)
tree4b61e2541b49be36f20a07b05a9625d791e2177e /testsuite/tests/warnings/should_compile/T22702a.stderr
parenta8f0435fc5516ad978064eeabcc24776b6b86351 (diff)
downloadhaskell-bdb93cd28f4a40e9a9f28b0976ca8fa4f250cad2.tar.gz
Add -Wmissing-role-annotations
Implements #22702
Diffstat (limited to 'testsuite/tests/warnings/should_compile/T22702a.stderr')
-rw-r--r--testsuite/tests/warnings/should_compile/T22702a.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/T22702a.stderr b/testsuite/tests/warnings/should_compile/T22702a.stderr
new file mode 100644
index 0000000000..c407c64b7d
--- /dev/null
+++ b/testsuite/tests/warnings/should_compile/T22702a.stderr
@@ -0,0 +1,6 @@
+
+T22702a.hs:12:1: warning: [GHC-65490] [-Wmissing-role-annotations]
+ Missing role annotation: type role Foo representational phantom
+
+T22702a.hs:21:1: warning: [GHC-65490] [-Wmissing-role-annotations]
+ Missing role annotation: type role Bar representational nominal