From afe55ae2b45223d09d2160d333faed87f224cd2e Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Fri, 10 Mar 2006 11:02:24 +0000 Subject: [PATCH] added two new examples --- examples/typeerror-scopeif | 4 ++++ examples/typeerror-scopewhile | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 examples/typeerror-scopeif create mode 100644 examples/typeerror-scopewhile 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; -- 2.39.2