summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/all.T
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2017-01-11 11:57:35 +0200
committerAlan Zimmerman <alan.zimm@gmail.com>2017-01-15 21:38:05 +0200
commit1ff3c5882427d704538250e6fdadd6f48bb08989 (patch)
tree56bf792993cf59c3120219dc420c06879e397883 /testsuite/tests/parser/should_compile/all.T
parent9d67f04d4892ea399631fd67ce91782b821a127e (diff)
downloadhaskell-1ff3c5882427d704538250e6fdadd6f48bb08989.tar.gz
Add dump-parsed-ast flag and functionality
Summary: This flag causes a dump of the ParsedSource as an AST in textual form, similar to the ghc-dump-tree on hackage. Test Plan: ./validate Reviewers: mpickering, bgamari, austin Reviewed By: mpickering Subscribers: nominolo, thomie Differential Revision: https://phabricator.haskell.org/D2958 GHC Trac Issues: #11140
Diffstat (limited to 'testsuite/tests/parser/should_compile/all.T')
-rw-r--r--testsuite/tests/parser/should_compile/all.T1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/all.T b/testsuite/tests/parser/should_compile/all.T
index 24c562e555..22a952474e 100644
--- a/testsuite/tests/parser/should_compile/all.T
+++ b/testsuite/tests/parser/should_compile/all.T
@@ -105,3 +105,4 @@ test('VtaParse', normal, compile, [''])
test('T10196', normal, compile, [''])
test('T10379', normal, compile, [''])
test('T10582', expect_broken(10582), compile, [''])
+test('DumpParsedAst', normal, compile, ['-ddump-parsed-ast'])