Add a broken test case for #12689
authorJoachim Breitner <mail@joachim-breitner.de>
Tue, 11 Oct 2016 20:50:25 +0000 (16:50 -0400)
committerJoachim Breitner <mail@joachim-breitner.de>
Tue, 11 Oct 2016 20:50:25 +0000 (16:50 -0400)
commitf8d2c205e04bcb83d39ccbede4c2a6279f702a6b
tree80240c6dc26d3d671d6f9bbb38f876b707a8578d
parentb5be2ec33c395e3e092baf85ebd0696f233ad706
Add a broken test case for #12689

A rule with a phase specification trying to match on a constructor with
a wrapper will fail to match, as the wrapper will be inlined by then.
The fact that it works in the other case is also mostly by accident.
(Split into two test cases so that regressions with regard what works so
far are caught.)
testsuite/tests/simplCore/should_run/T12689broken.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_run/T12689broken.stdout [new file with mode: 0644]
testsuite/tests/simplCore/should_run/all.T