Modify spec002 to be less trivial
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 28 Jul 2015 21:24:46 +0000 (22:24 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 30 Jul 2015 14:09:02 +0000 (15:09 +0100)
commit2e33b9c87615d3cc26ad188d5ca565e8a981208e
treef7c519a0656de159ef61c6e4500bbde22cf0497f
parent918dcf835198237b2fb26d5010b246717b0cb726
Modify spec002 to be less trivial

As it stood the main function in the test always returned
bottom, and GHC noticed that and therefore made no attempt
to optimise it, which rather negated the test.

This change makes it non-vacuous.
testsuite/tests/simplCore/should_compile/spec002.hs