From: Michael Andreen Date: Fri, 10 Mar 2006 11:02:24 +0000 (+0000) Subject: added two new examples X-Git-Url: https://ruin.nu/git/?p=proglang.git;a=commitdiff_plain;h=afe55ae2b45223d09d2160d333faed87f224cd2e added two new examples --- diff --git a/examples/typeerror-scopeif b/examples/typeerror-scopeif new file mode 100644 index 0000000..40e635b --- /dev/null +++ b/examples/typeerror-scopeif @@ -0,0 +1,4 @@ +if (true) +int x = 1; +else +print x; diff --git a/examples/typeerror-scopewhile b/examples/typeerror-scopewhile new file mode 100644 index 0000000..edf42be --- /dev/null +++ b/examples/typeerror-scopewhile @@ -0,0 +1,3 @@ +while (false) +int x = 1; +print x;