Documentation, tests for hsc2hs's new #alignment macro
authorRyanGlScott <ryan.gl.scott@gmail.com>
Sat, 19 Dec 2015 10:09:52 +0000 (11:09 +0100)
committerThomas Miedema <thomasmiedema@gmail.com>
Sat, 19 Dec 2015 10:09:59 +0000 (11:09 +0100)
commit2cc5b607df27e702541985f7c4c987806c4ec2a1
tree2ab126c6dccef992bf689a336a3aed6590a7d052
parentb2670fc47754288224b825a3308b92642ccf7e73
Documentation, tests for hsc2hs's new #alignment macro

Adds two tests (one for Trac #4340 and one for Trac #10272), as well as
advice on how to fix your code if `hsc2hs` emits warnings with GHC 8.0
due to a redefinition of `#alignment`. (I also put the advice in the
[GHC 8.0 Migration
Guide](https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0).)

Reviewed By: thomie

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

GHC Trac Issues: #4340, #10272
.gitignore
docs/users_guide/7.12.1-notes.rst
docs/users_guide/utils.rst
testsuite/tests/hsc2hs/Makefile
testsuite/tests/hsc2hs/T10272.h [new file with mode: 0644]
testsuite/tests/hsc2hs/T10272.hsc [new file with mode: 0644]
testsuite/tests/hsc2hs/T10272.stdout [new file with mode: 0644]
testsuite/tests/hsc2hs/T4340.hsc [new file with mode: 0644]
testsuite/tests/hsc2hs/T4340.stdout [new file with mode: 0644]
testsuite/tests/hsc2hs/all.T