mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
026a992179
I think I need to rework the tests to better handle compile-only tests.
21 lines
482 B
R
21 lines
482 B
R
@class Array,Object;
|
|
@static entity waypoint_thinker;
|
|
@static Array *waypoint_queue;
|
|
void foo (void)
|
|
{
|
|
if ([waypoint_queue count]
|
|
&& (waypoint_thinker.@this = [waypoint_queue lastObject])) {
|
|
waypoint_thinker = nil; // just to deconfuse the dot graphs
|
|
}
|
|
}
|
|
|
|
int main ()
|
|
{
|
|
return 0; // test succeeds if compile succeeds
|
|
}
|
|
id obj_msgSend (id receiver, SEL op, ...) = #0;
|
|
void __obj_exec_class (struct obj_module *msg) = #0;
|
|
@implementation Object
|
|
@end
|
|
@implementation Array
|
|
@end
|