diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc233.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc233.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc233.hs b/testsuite/tests/typecheck/should_compile/tc233.hs new file mode 100644 index 0000000000..6421ae7a82 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc233.hs @@ -0,0 +1,7 @@ + +{-# OPTIONS_GHC -XPolymorphicComponents #-} + +module ShouldCompile where + +newtype Swizzle = MkSwizzle (forall a. Ord a => [a] -> [a]) + |