diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/Simple18.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/Simple18.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/Simple18.hs b/testsuite/tests/indexed-types/should_compile/Simple18.hs new file mode 100644 index 0000000000..c7d94c4984 --- /dev/null +++ b/testsuite/tests/indexed-types/should_compile/Simple18.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE TypeFamilies #-} + +module Simple18 where + +type family F a + +type instance F Int = [Int] + +foo :: F Int +foo = [1]
\ No newline at end of file |