Added a future folder to examples
[fur] / examples / future / 32_finally.fur
diff --git a/examples/future/32_finally.fur b/examples/future/32_finally.fur
new file mode 100644 (file)
index 0000000..f89d949
--- /dev/null
@@ -0,0 +1,11 @@
+def throws() do
+  try
+    42 // 0
+  finally
+    print('This should print')
+  end
+end
+
+variable = throws()
+
+print('This should not print')