quakeforge/tools/qfcc/test/class-method.r

31 lines
229 B
R
Raw Normal View History

2011-01-03 09:11:46 +00:00
@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