summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci045.script
blob: 042d16c0bed3199fae610033a33ba315c6e2e674 (plain)
1
2
3
4
5
6
--Testing standalone deriving
:set -XStandaloneDeriving
data Foo = A | B | C
deriving instance Show Foo
A
C