diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc025.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc025.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc025.hs b/testsuite/tests/typecheck/should_compile/tc025.hs new file mode 100644 index 0000000000..e9adf9acb5 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc025.hs @@ -0,0 +1,3 @@ +module ShouldSucceed where + +g x = f (f True x) x where f x y = if x then y else (f x y) |