diff options
Diffstat (limited to 'TAO/tests/IDL_Test/array.idl')
-rw-r--r-- | TAO/tests/IDL_Test/array.idl | 44 |
1 files changed, 10 insertions, 34 deletions
diff --git a/TAO/tests/IDL_Test/array.idl b/TAO/tests/IDL_Test/array.idl index 63febd22d68..61b217bc768 100644 --- a/TAO/tests/IDL_Test/array.idl +++ b/TAO/tests/IDL_Test/array.idl @@ -32,40 +32,6 @@ struct wrap }; typedef wrap outside_array[10]; - - -// Once a problem with expressions in the brackets, -// as well as the typedef'd/anonymous thing. - -interface tdef -{ - const short byteslen = 12; - typedef octet Bytes[byteslen + 1]; - - struct bytes_or_longs - { - Bytes the_bytes; // typedef'd - long Longs[byteslen]; // anonymous - }; -}; - -// To test that all the octet arrays build and link as -// unique types. -module ABCModule -{ - struct RmtPhysicalInfo - { - octet rmtNodeId[22]; - octet rmtDetails[22]; - }; - - struct bbbBubBubBubBaby - { - octet rmtNodeId[22]; - octet rmtDetails[22]; - }; -}; - typedef octet oa1[22]; typedef octet oa2[22]; @@ -160,3 +126,13 @@ module bug_2126 }; }; +typedef long B41[2][3]; +typedef long B42[2]; +typedef long B43[4]; + +union B85 switch (long) { + case 1: B42 b_85_1; + case 2: B43 b_85_2; + case 3: B41 b_85_3; +}; + |