diff options
Diffstat (limited to 'TAO/tests/OBV/ValueBox/vb_union.idl')
-rw-r--r-- | TAO/tests/OBV/ValueBox/vb_union.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/TAO/tests/OBV/ValueBox/vb_union.idl b/TAO/tests/OBV/ValueBox/vb_union.idl new file mode 100644 index 00000000000..0a05be46651 --- /dev/null +++ b/TAO/tests/OBV/ValueBox/vb_union.idl @@ -0,0 +1,22 @@ +// $Id$ + +//========================================================================= +// Valuebox of unions +//========================================================================= + +union Fixed_Union1 switch(long) +{ + case 1: long m1; + case 2: short m2; +}; + +union Variable_Union1 switch(long) +{ + case 1: long m1; + case 2: string m2; +}; + + +valuetype VBfixed_union1 Fixed_Union1; + +valuetype VBvariable_union1 Variable_Union1; |