diff --git a/tools/qfcc/test/bool.r b/tools/qfcc/test/bool.r index 7e6e246ea..ac7550ff7 100644 --- a/tools/qfcc/test/bool.r +++ b/tools/qfcc/test/bool.r @@ -8,3 +8,11 @@ integer (integer x, integer y, integer z) foo = } return !x; }; + +float bar (void *a) +{ + void *b; + if (!(b = a)) + return 1; + return 2; +} diff --git a/tools/qfcc/test/entity-field.r b/tools/qfcc/test/entity-field.r index 9edd7fcbb..aeeed1c75 100644 --- a/tools/qfcc/test/entity-field.r +++ b/tools/qfcc/test/entity-field.r @@ -1,6 +1,15 @@ .float x; .vector v; +.float z = nil; +.float w; .void (float y) func; +//.void (float y) bi = #0; +.void (float y) ni = nil; +.float u; + +//.void (float y) co = +//{ +//} void (entity ent) foo = {