X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=tests.scm;h=f327231339d86e9b0c602f188605b072d57c0cfa;hb=0db4aa6c791e5ed27bfd9c4461e7a5337ee699e1;hp=a3f4913a75d5e9177843da3d5a71ce2d24b0a8b4;hpb=a457cd3bb5ce9366db3ca0731a07abc50ecbc1f3;p=scheme.git diff --git a/tests.scm b/tests.scm index a3f4913..f327231 100644 --- a/tests.scm +++ b/tests.scm @@ -307,3 +307,9 @@ [(bar x) 0])) 12) +(test-prog '((data Foo [foo Int]) + (data Bar [bar Foo]) + (case (bar (foo 42)) + [(bar (foo x)) x])) + 42) +