diff options
Diffstat (limited to 'testsuite/tests/parser/prog001/Read007.hs')
-rw-r--r-- | testsuite/tests/parser/prog001/Read007.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/parser/prog001/Read007.hs b/testsuite/tests/parser/prog001/Read007.hs new file mode 100644 index 0000000000..a0c2ec0f44 --- /dev/null +++ b/testsuite/tests/parser/prog001/Read007.hs @@ -0,0 +1,8 @@ +module ShouldCompile where + +import Read006 + +myLength :: MyList a -> Int +myLength Empty = 0 +myLength (x ::: xs) = 1 + myLength xs + |