summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail008.hs
blob: 606af912f002317536b19c6d41f8e4ac35712781 (plain)
1
2
3
4
5
module ShouldFail where

-- strictness annotations on the argument to a newtype constructor
-- are not allowed.
newtype N a = T ![a]