diff options
Diffstat (limited to 'testsuite/tests/ghc-regress/deSugar/should_compile/ds038.hs')
-rw-r--r-- | testsuite/tests/ghc-regress/deSugar/should_compile/ds038.hs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/testsuite/tests/ghc-regress/deSugar/should_compile/ds038.hs b/testsuite/tests/ghc-regress/deSugar/should_compile/ds038.hs deleted file mode 100644 index 3accf7cf42..0000000000 --- a/testsuite/tests/ghc-regress/deSugar/should_compile/ds038.hs +++ /dev/null @@ -1,12 +0,0 @@ --- !!! Jon Hill reported a bug in desugaring this in 0.09 --- !!! (recursive with n+k patts) --- - -{-# LANGUAGE NPlusKPatterns #-} - -module ShouldCompile where - -takeList :: Int -> [a] -> [a] -takeList 0 _ = [] -takeList (n+1) [] = [] -takeList (n+1) (x:xs) = x : takeList n xs |