diff options
Diffstat (limited to 'testsuite/tests/warnings/should_compile/T18862b.hs')
-rw-r--r-- | testsuite/tests/warnings/should_compile/T18862b.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/T18862b.hs b/testsuite/tests/warnings/should_compile/T18862b.hs new file mode 100644 index 0000000000..7259547b7c --- /dev/null +++ b/testsuite/tests/warnings/should_compile/T18862b.hs @@ -0,0 +1,8 @@ +{-# OPTIONS -Wcompat -Wno-error=type-equality-out-of-scope #-} + +module T18862b where + +import Prelude (id) + +f :: (a ~ b) => a -> b +f = id |