quakeforge/tools/qfcc/test/class-method.r
2011-01-03 18:11:46 +09:00

30 lines
229 B
R

@interface nack
+arg;
-bla;
@end
@interface foo : nack
+bar;
+baz;
-snafu;
@end
@implementation foo
+bar
{
[self bla];
return [self baz];
}
+baz
{
return [self snafu];
}
-snafu
{
[self baz];
return [self snafu];
}
@end