Skip to content
  • Douglas Wilson's avatar
    testsuite: add new test for desugar warnings/errors with -fno-code · baa18def
    Douglas Wilson authored
    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
    baa18def