Add a test for calling class methods.

This commit is contained in:
Bill Currie 2011-01-03 18:11:46 +09:00
parent 02f78e46f8
commit a27ea057c4

View file

@ -0,0 +1,30 @@
@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