1 /* Contributed by Nicola Pero - Tue Mar 6 23:05:53 CET 2001 */
3 #include <objc/objc-api.h>
5 #include "next_mapping.h"
7 /* Tests creating a root class and a minimal subclass tree */
15 @implementation RootClass
18 @interface SubClassA : RootClass
21 @implementation SubClassA
24 @interface SubClassB : RootClass
27 @implementation SubClassB
30 @interface SubSubClass : SubClassA
33 @implementation SubSubClass
36 #include "class-tests-1.h"
40 test_class_with_superclass ("SubClassA", "RootClass");
41 test_class_with_superclass ("SubClassB", "RootClass");
42 test_class_with_superclass ("SubSubClass", "SubClassA");