Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / objc / execute / class-2.m
blob88378e1d4a8032c2ea8da930067d61e4c2d38c69
1 /* Contributed by Nicola Pero - Tue Mar  6 23:05:53 CET 2001 */
3 #include <objc/objc.h>
5 /* Tests creating a root class and a subclass */
7 @interface RootClass
9   Class isa;
11 @end
13 @implementation RootClass
14 @end
16 @interface SubClass : RootClass
17 @end
19 @implementation SubClass
20 @end
22 #include "class-tests-1.h"
24 int main (void)
26   test_class_with_superclass ("SubClass", "RootClass");
28   return 0;