diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T7857.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T7857.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T7857.hs b/testsuite/tests/typecheck/should_fail/T7857.hs new file mode 100644 index 0000000000..d50efd5696 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T7857.hs @@ -0,0 +1,8 @@ +module T7857 where + +import Text.Printf + +f :: a -> b +f = undefined + +g i = f $ printf "" i |