summaryrefslogtreecommitdiffstats
path: root/src/CBot/tests/TestCBot/scenarios/mw.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CBot/tests/TestCBot/scenarios/mw.txt')
-rw-r--r--src/CBot/tests/TestCBot/scenarios/mw.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/CBot/tests/TestCBot/scenarios/mw.txt b/src/CBot/tests/TestCBot/scenarios/mw.txt
new file mode 100644
index 0000000..c237670
--- /dev/null
+++ b/src/CBot/tests/TestCBot/scenarios/mw.txt
@@ -0,0 +1,16 @@
+extern public void main()
+{
+// goto( 3, 4 );
+
+ while( true )
+ {
+ try { goto (12) ; }
+ catch( FF( ) )
+ { show( "ko"); }
+ }
+}
+
+boolean FF()
+{
+ return false;
+}