1 2 3 4 5 6
{-# LANGUAGE DatatypeContexts #-} module RnStupidThetaInGadt where data (Eq a) => Foo a where MkFoo :: Int