Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / IDL_Test / old_union2.idl
blob72652712ccb46945c984fcf9225ff268eac6eaa9
2 //=============================================================================
3 /**
4 * @file old_union2.idl
6 * Further tests of union IDL constructs
9 * @author Andy Gokhale <gokhale@dre.vanderbilt.edu>
11 //=============================================================================
14 module OldUnion2
16 enum FooDisc
18 FOO1,
19 FOO2
22 union Foo switch (FooDisc)
24 case FOO1: long x;
25 case FOO2: string y;
28 struct Bar
30 enum BarDisc
32 BAR1,
33 BAR2
34 } kind;
36 union Foo switch (BarDisc)
38 case BAR1: long x;
39 case BAR2: long y;
40 } addr;