diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc147.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc147.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc147.hs b/testsuite/tests/typecheck/should_compile/tc147.hs new file mode 100644 index 0000000000..1125fe7051 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc147.hs @@ -0,0 +1,8 @@ +-- This one sent 5.03 into an infinite loop, because it +-- gazed too deeply into the functional type of PP + +module ShouldCompile where + +newtype PP = PP (Int -> PP) + +foo = PP undefined |