summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/RnStupidThetaInGadt.hs
blob: e9310af41872dc04db648d43cbd10111d04a5f86 (plain)
1
2
3
4
5
6
{-# LANGUAGE DatatypeContexts #-}
module RnStupidThetaInGadt where


data (Eq a) => Foo a where
  MkFoo :: Int