diff options
Diffstat (limited to 'testsuite/tests/deriving/should_run/drvrun017.hs')
-rw-r--r-- | testsuite/tests/deriving/should_run/drvrun017.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_run/drvrun017.hs b/testsuite/tests/deriving/should_run/drvrun017.hs new file mode 100644 index 0000000000..e14619c1a9 --- /dev/null +++ b/testsuite/tests/deriving/should_run/drvrun017.hs @@ -0,0 +1,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)
\ No newline at end of file |