Repository : ssh://darcs.haskell.org//srv/darcs/packages/ghc-prim On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d075da650b22fee284a82162c5b78757f30fe2ae >--------------------------------------------------------------- commit d075da650b22fee284a82162c5b78757f30fe2ae Author: Ian Lynagh <[email protected]> Date: Fri Nov 23 16:41:50 2012 +0000 Add a test for #6026 (fixity info for primops) >--------------------------------------------------------------- tests/T6026.hs | 10 ++++++++++ tests/T6026.stdout | 1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/tests/T6026.hs b/tests/T6026.hs new file mode 100644 index 0000000..d59e7f0 --- /dev/null +++ b/tests/T6026.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE MagicHash #-} + +module Main (main) where + +import GHC.Prim +import GHC.Types + +main :: IO () +main = print (I# (1# +# 2# *# 3# +# 4#)) + diff --git a/tests/T6026.stdout b/tests/T6026.stdout new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/tests/T6026.stdout @@ -0,0 +1 @@ +11 _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
