[GHC] #9399: CPP does not process test case enum01.hs correctly

GHC ghc-devs at haskell.org
Fri Jun 5 00:17:23 UTC 2015


#9399: CPP does not process test case enum01.hs correctly
-------------------------------------+-------------------------------------
        Reporter:  jrp               |                   Owner:  rwbarton
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Test Suite        |                 Version:  7.8.3
      Resolution:                    |                Keywords:  cpp
Operating System:  MacOS X           |            Architecture:  x86_64
 Type of failure:  GHC rejects       |  (amd64)
  valid program                      |               Test Case:  enum01.hs
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D957
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * differential:   => Phab:D957


Comment:

 This turned out to be more complicated than expected because clang's
 traditional mode ''also'' doesn't support stringification in any way as
 far as I can tell, so I replaced the use of CPP by a custom preprocessor.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9399#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list