summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_run/T5041.hs
blob: 4b7ba557dc0e779569b3ba927b13e846e4ee4003 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE MagicHash #-}

module Main where

data T = T1# | T2# Int deriving( Read, Show )

foo :: [T]
foo = read "[ T1#, T2# 4, T2# 5 ]"
main = print foo