1 /* Contributed by Nicola Pero - Fri Mar 9 19:39:15 CET 2001 */
3 #include <objc/Object.h>
5 /* Test that using the same name for different things makes no
8 @interface TestClass : Object
16 @implementation TestClass
23 /* 0 + 2 as `test' is implicitly initialized to zero */
31 if ([TestClass test] != 1)
35 if ([[[TestClass alloc] init] test] != 2)