summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/should_run
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2016-02-27 17:34:14 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2016-02-27 17:34:14 +0100
commit869d9c62d8329022f9f5504a92d2d74efec4f2e8 (patch)
treed0a0f668c423ffff8a5c92235052c5bc565428f3 /testsuite/tests/ghci/should_run
parentb9c697eefd34fcba3ab9c1f831baf7f651ad7503 (diff)
downloadhaskell-869d9c62d8329022f9f5504a92d2d74efec4f2e8.tar.gz
Print which flag controls emitted lexer warnings
This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover warnings emitted during lexing. This implements another part of #10752
Diffstat (limited to 'testsuite/tests/ghci/should_run')
-rw-r--r--testsuite/tests/ghci/should_run/T7253.stderr11
1 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/tests/ghci/should_run/T7253.stderr b/testsuite/tests/ghci/should_run/T7253.stderr
index a96d27803f..f7dedda51b 100644
--- a/testsuite/tests/ghci/should_run/T7253.stderr
+++ b/testsuite/tests/ghci/should_run/T7253.stderr
@@ -1,7 +1,8 @@
-<interactive>:19:1: warning: Unrecognised pragma
+<interactive>:19:1: warning: [-Wunrecognised-pragmas (in -Wdefault)]
+ Unrecognised pragma
-<interactive>:62:1:
- Role mismatch on variable b:
- Annotation says phantom but role representational is required
- while checking a role annotation for ‘T1’
+<interactive>:62:1: error:
+ • Role mismatch on variable b:
+ Annotation says phantom but role representational is required
+ • while checking a role annotation for ‘T1’