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