diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc234.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc234.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc234.hs b/testsuite/tests/typecheck/should_compile/tc234.hs new file mode 100644 index 0000000000..0ed46becfe --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc234.hs @@ -0,0 +1,11 @@ + +{-# OPTIONS_GHC -XLiberalTypeSynonyms #-} + +module ShouldCompile where + +type T a b = a +type S m = m () + +f :: S (T Int) +f = undefined + |