diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-09-18 16:25:51 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2013-09-20 15:38:17 +0100 |
commit | 9d0ae764224f923beccc78acb1a24417d741b8e9 (patch) | |
tree | f7f8fc03777aaee1dffffe71dcb6babe9eae0680 /testsuite/tests/deriving/should_run/T8280.hs | |
parent | 1e24696542cb4dc9fbb5186f4ecd7422ea3f6426 (diff) | |
download | haskell-9d0ae764224f923beccc78acb1a24417d741b8e9.tar.gz |
Test Trac #8280
Diffstat (limited to 'testsuite/tests/deriving/should_run/T8280.hs')
-rw-r--r-- | testsuite/tests/deriving/should_run/T8280.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_run/T8280.hs b/testsuite/tests/deriving/should_run/T8280.hs new file mode 100644 index 0000000000..4ccc5b4164 --- /dev/null +++ b/testsuite/tests/deriving/should_run/T8280.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE MagicHash #-} +module Main where + +import GHC.Prim + +data A = A Word# deriving Show + +main = print (A (int2Word# 4#)) |