summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci031.hs
blob: ef5d985f7518fb629515f0a426e3998faf1bd7d3 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE DatatypeContexts #-}
-- Trac #2138
-- If we :i D, we should see the Eq constraint

module Foo where

data Eq a => D a = C a