summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/OBV')
-rw-r--r--TAO/tests/OBV/ValueBox/vb_struct.idl7
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tests/OBV/ValueBox/vb_struct.idl b/TAO/tests/OBV/ValueBox/vb_struct.idl
index 318653e5009..e25a207a2f0 100644
--- a/TAO/tests/OBV/ValueBox/vb_struct.idl
+++ b/TAO/tests/OBV/ValueBox/vb_struct.idl
@@ -35,21 +35,22 @@ union Union1 switch(long)
};
typedef sequence<long> LongSeq;
-
+typedef octet oct_array[10];
+typedef sequence <Pet> PetSeq;
// Use all possible types inside a struct
struct Variable_Struct2
{
long len; // predefined type
any whatever; // predefined type
Pet apet; // enum
- octet octet_array[10]; // array
+ oct_array octet_array; // array
short_array td_array; // typedefed array
Interface1 intf1; // interface
InterfaceFwd intf2; // interface fwd
string str; // string
wstring wstr; // string
LongSeq ls; // typedef sequence
- sequence <Pet> sqq; // sequence
+ PetSeq sqq; // sequence
struct NestedStruct1 { short s; string str2; } ns1; // structure
Variable_Struct1 NestedStruct2;
TDvariable_struct1 NestedStruct3;