summaryrefslogtreecommitdiff
path: root/testsuite/tests/layout/layout003.stdout
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/layout/layout003.stdout
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/layout/layout003.stdout')
-rw-r--r--testsuite/tests/layout/layout003.stdout4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/layout/layout003.stdout b/testsuite/tests/layout/layout003.stdout
index 171dc22d7e..927fe884c7 100644
--- a/testsuite/tests/layout/layout003.stdout
+++ b/testsuite/tests/layout/layout003.stdout
@@ -1,9 +1,9 @@
Running with -XNoAlternativeLayoutRule
Running with -XAlternativeLayoutRule
-layout003.hs:11:4: parse error on input ‘|’
+layout003.hs:11:4: error: parse error on input ‘|’
Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional
-layout003.hs:11:4: Warning:
+layout003.hs:11:4: warning: [-Walternative-layout-rule-transitional (in -Wdefault)]
transitional layout will not be accepted in the future:
`|' at the same depth as implicit layout block