2 # Copyright (C) 2008-2010, Parrot Foundation.
7 t/oo/removeparent.t - Test OO inheritance
11 % prove t/oo/removeparent.t
15 Tests OO features related to the removeparent opcode.
20 .include 'test_more.pir'
47 $P1 = newclass "Foo2_1"
48 $P2 = newclass "Foo2_2"
78 $P1 = newclass "FooY_1"
79 $P2 = newclass "FooY_2"
80 $P3 = newclass "BarY_1"
81 $P4 = newclass "BarY_2"
104 $P1 = newclass "FooD1"
105 $P2 = newclass "FooD2"
106 $P3 = newclass "FooD3"
107 $P4 = newclass "BarD1"
114 removeparent $P4, $P2
117 removeparent $P4, $P3
129 # vim: expandtab shiftwidth=4 ft=pir: