Show sources of cost centers in .prof
[ghc.git] / testsuite / tests / generics / GenNewtype.hs
1 {-# LANGUAGE DeriveGeneric #-}
2
3 module Main where
4
5 import GHC.Generics
6
7 data X = X deriving Generic
8 newtype Y = Y X deriving Generic
9
10 main = print [isNewtype (from X), isNewtype (from (Y X))]