From cbcd2030cf8037ec11346c593d4fb23d8f2c80c2 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 7 Apr 2007 05:02:09 +0000 Subject: [PATCH] add a few more tests to break --- tools/qfcc/test/break.r | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/qfcc/test/break.r b/tools/qfcc/test/break.r index cabe9d46b..3d229b324 100644 --- a/tools/qfcc/test/break.r +++ b/tools/qfcc/test/break.r @@ -7,3 +7,14 @@ void () foo = break; } }; + +float () bar = +{ + local float break; + local float x; + break = 0; + break ++; + x = break; + break = x; + return break; +};