Commit b20a65d5 authored by Ben Gamari's avatar Ben Gamari 🐢

testsuite: Add missing LiteralsTest2.hs

parent acd447e6
{-# LANGUAGE MagicHash #-}
module LiteralsTest2 where
x,y :: Int
x = 0003
y = 0x04
s :: String
s = "\x20"
c :: Char
c = '\x20'
d :: Double
d = 0.00
blah = x
where
charH = '\x41'#
intH = 0004#
wordH = 005##
floatH = 3.20#
doubleH = 04.16##
x = 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment