Add test (only) to assure that #11535 is fixed
authorTakayuki Muranushi <muranushi@gmail.com>
Sat, 20 Feb 2016 12:28:32 +0000 (13:28 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sat, 20 Feb 2016 12:29:24 +0000 (13:29 +0100)
commit1ef7add01ead4cbe065297f68306d9bc4b456156
treeeb795abf4a706f0c48dc4270d7af63fcf4a45a2c
parent80d35be1263b57d9f48bf01372388310ecc3266f
Add test (only) to assure that #11535 is fixed

Ticket #11535 dealt with derived Read instances of infix Unicode
value constructors. GHC 7.10.3 used to derive (Read/Show)
instances so that `read . show` for values of such types had no
parse.

The issue has been fixed by other compiler update. This patch
adds only tests, so that derived instance of Read/Show for infix
Unicode value constructors has correct parse, satisfying Haskell
2010 Specification.

Resolves: #11535

Test Plan: `make test TEST=T11535`

Reviewers: austin, rwbarton, thomie, bgamari

Reviewed By: rwbarton, thomie, bgamari

Subscribers: rwbarton, thomie

Projects: #ghc

Differential Revision: https://phabricator.haskell.org/D1884

GHC Trac Issues: #11535
testsuite/tests/deriving/should_run/T11535.hs [new file with mode: 0644]
testsuite/tests/deriving/should_run/T11535.stdout [new file with mode: 0644]
testsuite/tests/deriving/should_run/all.T