diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/Simple10.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/Simple10.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/Simple10.hs b/testsuite/tests/indexed-types/should_compile/Simple10.hs new file mode 100644 index 0000000000..2e6aacf510 --- /dev/null +++ b/testsuite/tests/indexed-types/should_compile/Simple10.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE TypeFamilies #-} + +module Simple10 where + +type family T a + +foo, bar :: T a -> a +foo = undefined +bar x = foo x + |