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

module Foo where

data Eq a => D a = C a