summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc245.hs
blob: abe45d9537cd767324f17a55b1fc00a4e205529f (plain)
1
2
3
4
5
6
7
8
9
10
11
-- Test for trac #2937

{-# LANGUAGE GADTs, TypeFamilies #-}

module Tc245 where

import Tc245_A

instance Foo Int where
    data Bar Int x where
        Baz :: Bar Int String