Commit 94ad0e0c authored by simonpj's avatar simonpj
Browse files

[project @ 1999-08-20 13:13:03 by simonpj]

Add tcrun005
parent 2dad6b83
-- !!! Dfun naming bug
module Main where
data TT = TT
data TTT = TTT
class CC a where
op_cc :: a -> a
class CCT a where
op_cct :: a -> a
-- These two instances should get different dfun names!
-- In GHC 4.04 they both got $fCCTTT
instance CC TTT where
op_cc = id
instance CCT TT where
op_cct = id
main = case op_cc TTT of
TTT -> print "ok"
Supports Markdown
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