1 /* Contributed by Nicola Pero - Fri Oct 26 22:39:32 BST 2001 */
4 /* Test calling a class method on self where self has been redefined
5 to be another class - the call requires a cast */
22 @implementation ClassA
37 /* The second class */
45 @implementation TestClass
48 self = [ClassA class];
51 if ([(Class)self method].a != 5)