summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/Simple4.hs
blob: bd8ae3d66a7accbbfd62a6b5b51b60f2e9526dd8 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TypeFamilies #-}

module ShouldCompile where

class C8 a where
  data S8 a :: * -> *

instance C8 Int where
  data S8 Int a = S8Int a