diff options
author | Mark Spruiell <mes@zeroc.com> | 2001-12-12 02:24:24 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2001-12-12 02:24:24 +0000 |
commit | 83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c (patch) | |
tree | 72c9194c3c75ecf93c7018b49285c562c7421234 /java/test/Ice/inheritance/Test.ice | |
parent | minor fix (diff) | |
download | ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.tar.bz2 ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.tar.xz ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.zip |
initial check-in
Diffstat (limited to 'java/test/Ice/inheritance/Test.ice')
-rw-r--r-- | java/test/Ice/inheritance/Test.ice | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/java/test/Ice/inheritance/Test.ice b/java/test/Ice/inheritance/Test.ice new file mode 100644 index 00000000000..b05492b092e --- /dev/null +++ b/java/test/Ice/inheritance/Test.ice @@ -0,0 +1,82 @@ +// ********************************************************************** +// +// Copyright (c) 2001 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef TEST_ICE +#define TEST_ICE + +module M_A +{ + +interface I_A +{ + I_A* ia(I_A* p); +}; + +class C_A +{ + C_A* ca(C_A* p); +}; + +}; + +module M_B +{ + +interface I_B1 extends M_A::I_A +{ + I_B1* ib1(I_B1* p); +}; + +interface I_B2 extends M_A::I_A +{ + I_B2* ib2(I_B2* p); +}; + +class C_B extends M_A::C_A +{ + C_B* cb(C_B* p); +}; + +}; + +module M_A +{ + +interface I_C extends M_B::I_B1, M_B::I_B2 +{ + I_C* ic(I_C* p); +}; + +class C_C extends M_B::C_B +{ + C_C* cc(C_C* p); +}; + +class C_D extends C_C implements M_B::I_B1, M_B::I_B2 +{ + C_D* cd(C_D* p); +}; + +}; + +interface Initial +{ + void shutdown(); + M_A::C_A* c_a(); + M_B::C_B* c_b(); + M_A::C_C* c_c(); + M_A::C_D* c_d(); + M_A::I_A* i_a(); + M_B::I_B1* i_b1(); + M_B::I_B2* i_b2(); + M_A::I_C* i_c(); +}; + +#endif |