[GHC] #8222: CTYPE pragma on newtype is ignored
GHC
ghc-devs at haskell.org
Wed Jul 1 15:22:28 UTC 2015
#8222: CTYPE pragma on newtype is ignored
-------------------------------------+-------------------------------------
Reporter: akio | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: worksforme | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: Incorrect result | (amd64)
at runtime | Test Case:
Blocked By: | patsyn/should_compile/T9857
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):
* status: infoneeded => closed
* testcase: => patsyn/should_compile/T9857
* resolution: => worksforme
Comment:
testsuite/tests/patsyn/should_compile/T9857.hs uses a CTYPE pragma on a
newtype:
`newtype {-# CTYPE "unsigned short" #-} Half = ...`
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8222#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list