summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_run/drvrun017.hs
blob: e14619c1a9a19bcce055caa66e3f2a95211d57c0 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE MagicHash #-}

-- Test Show on unboxed types

module Main where
import GHC.Base

data Foo = MkFoo Int# Float# Int deriving( Show )

main = print (MkFoo 3# 4.3# 2)