diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/Simple19.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/Simple19.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/Simple19.hs b/testsuite/tests/indexed-types/should_compile/Simple19.hs new file mode 100644 index 0000000000..d738b0bd85 --- /dev/null +++ b/testsuite/tests/indexed-types/should_compile/Simple19.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE TypeFamilies, LiberalTypeSynonyms #-} + -- ^ crucial for exercising the code paths to be + -- tested here + +module ShouldCompile where + +type family Element c :: * + +f :: Element x +f = undefined |