diff options
Diffstat (limited to 'testsuite/tests/stranal/should_compile/test.hs')
-rw-r--r-- | testsuite/tests/stranal/should_compile/test.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/stranal/should_compile/test.hs b/testsuite/tests/stranal/should_compile/test.hs new file mode 100644 index 0000000000..c984c320d1 --- /dev/null +++ b/testsuite/tests/stranal/should_compile/test.hs @@ -0,0 +1,6 @@ +module Test where +data LList t = Nill | Conss t (LList t) +data BBool = TTrue | FFalse + +f Nill = TTrue +f (Conss a as) = FFalse |