diff options
author | doug <douglas.wilson@gmail.com> | 2017-05-05 09:18:53 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-05-07 12:29:06 -0400 |
commit | baa18def0da17f11497fecc6fe440cf125b50878 (patch) | |
tree | 3515e924b2641e5aa5ea4a36225e2bc295b37a0a /testsuite/tests/driver/T10600.stderr | |
parent | ed0c7f8b1f91651203db4a0ee5931d47e1e6ab51 (diff) | |
download | haskell-baa18def0da17f11497fecc6fe440cf125b50878.tar.gz |
testsuite: add new test for desugar warnings/errors with -fno-code
Add a new (expect_broken) test T10600 that checks that the error:
Top-level bindings for unlifted types aren't allowed: is thrown when
compiling with -fno-code. This test currently fails because modules
compiled with -fno-code aren't desugared. There are several other errors
which can be thrown during desugaring that aren't tested for,
discoverable by grepping for "errDs".
Update .stderr files T8101 and T8101b. Presumably the compilation output
has changed slightly since they were written.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie
GHC Trac Issues: #10600, #8101
Differential Revision: https://phabricator.haskell.org/D3533
Diffstat (limited to 'testsuite/tests/driver/T10600.stderr')
-rw-r--r-- | testsuite/tests/driver/T10600.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T10600.stderr b/testsuite/tests/driver/T10600.stderr new file mode 100644 index 0000000000..4298e67dfc --- /dev/null +++ b/testsuite/tests/driver/T10600.stderr @@ -0,0 +1,2 @@ +T10600.hs:10:1: + Top-level bindings for unlifted types aren't allowed: foo = 10600#
\ No newline at end of file |