summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3966.hs
blob: 7b1184c7101e50bb9784cab4a8f4b672f97b0f49 (plain)
1
2
3
4
5
6
{-# OPTIONS_GHC -Werror -O #-}
-- Add -O so the UNPACK has some effect

module T3966 where

data Foo a b = Foo {-# UNPACK #-} !(a -> b)