From 2893f56e860676d399302ea06dbae0e32dede8a6 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Wed, 11 Dec 2013 00:46:00 +0100 Subject: [PATCH] samples, renamed sample2 to div0, and added 'div2' which is the same sa div0, just without the (intentional) run time error --- samples/{sample2.mj => div0.mj} | 0 samples/div2.mj | 10 ++++++++++ 2 files changed, 10 insertions(+) rename samples/{sample2.mj => div0.mj} (100%) create mode 100644 samples/div2.mj diff --git a/samples/sample2.mj b/samples/div0.mj similarity index 100% rename from samples/sample2.mj rename to samples/div0.mj diff --git a/samples/div2.mj b/samples/div2.mj new file mode 100644 index 0000000..d498e3d --- /dev/null +++ b/samples/div2.mj @@ -0,0 +1,10 @@ +program test +{ + void main() + int i, j; + { + i = 100; j = 2; + print(i/j); + } + +} \ No newline at end of file -- 2.25.1