Permalink
Browse files

Add a test for #6026 (fixity info for primops)

  • Loading branch information...
1 parent 04e62ee commit d075da650b22fee284a82162c5b78757f30fe2ae @igfoo igfoo committed Nov 23, 2012
Showing with 11 additions and 0 deletions.
  1. +10 −0 tests/T6026.hs
  2. +1 −0 tests/T6026.stdout
View
@@ -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#))
+
View
@@ -0,0 +1 @@
+11

0 comments on commit d075da6

Please sign in to comment.