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

GHC ghc-devs at haskell.org
Mon Aug 11 22:58:50 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 jrp):

 Don't follow you.  The test explicitly invokes CPP (both on the command
 line and with a pragma).  If you clang -P - < enum0x.hs the macro
 printTest seems  to be expanded.

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


More information about the ghc-tickets mailing list