summaryrefslogtreecommitdiff
path: root/transfer/examples
diff options
context:
space:
mode:
Diffstat (limited to 'transfer/examples')
-rw-r--r--transfer/examples/layout.tr4
1 files changed, 4 insertions, 0 deletions
diff --git a/transfer/examples/layout.tr b/transfer/examples/layout.tr
index 15f0aac3a..46adf5631 100644
--- a/transfer/examples/layout.tr
+++ b/transfer/examples/layout.tr
@@ -3,3 +3,7 @@ x = let x : T = y
in case y of
f -> q
_ -> a
+
+f = \x -> case x of
+ { r = _ } -> 0
+