Bump `base` version to 4.9.0.0 (closes #11026)
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail079.hs
1 {-# LANGUAGE MagicHash #-}
2
3 module ShouldFail where
4
5 -- !!! unboxed field in newtype declaration
6
7 import GHC.Exts ( Int# )
8
9 newtype Unboxed = Unboxed Int#
10
11 f = [ Unboxed 1#, Unboxed 2# ] -- shouldn't be allowed!