[GHC] #9399: CPP does not process test case enum01.hs correctly
GHC
ghc-devs at haskell.org
Tue Sep 16 17:45:41 UTC 2014
#9399: CPP does not process test case enum01.hs correctly
-------------------------------------+-------------------------------------
Reporter: jrp | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 7.8.3
Resolution: | Keywords: cpp
Operating System: MacOS X | Architecture: x86_64 (amd64)
Type of failure: GHC | Difficulty: Unknown
rejects valid program | Blocked By:
Test Case: enum01.hs | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
Replying to [comment:6 jrp]:
> I think that the test should be fixed to make it Clang-compatible. That
way it will test enum, which is what it is supposed to do. The same
applies to enum02-04.
Agreed. Would you like to prepare a patch? I expect all that's needed is
to remove all the spaces after occurrences of `printTest`. (Otherwise I
will get around to it eventually.)
> We should then have another test specifically for cpp behaviour. (I
would do this, but don't have commit access.)
So I take it the test fails for you with WAY=ghci, but not any of the
other ways? That's a bit perplexing and deserves a test, yes.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9399#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list