summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-24 14:24:31 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-24 14:24:31 +0100
commit69156b0c6d64aa79ab27d2450e405a3bb458643c (patch)
tree6be8f68ca6c7c50baf58a5b673f7ce34f1212cd4
parent8713609b5e3f3b659a1ebf12948501090b2441df (diff)
downloadATCD-69156b0c6d64aa79ab27d2450e405a3bb458643c.tar.gz
Extend union test further
* TAO/tests/IDL_Test/union.idl:
-rw-r--r--TAO/tests/IDL_Test/union.idl10
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/union.idl b/TAO/tests/IDL_Test/union.idl
index 1ca3c15b979..7719a23801b 100644
--- a/TAO/tests/IDL_Test/union.idl
+++ b/TAO/tests/IDL_Test/union.idl
@@ -256,16 +256,26 @@ union U85 switch (long) {
case 2: U42 b_85_2;
};
+typedef string UString[2];
union U86 switch (long) {
case 1: string b_86_1;
case 2: long b_86_2;
};
+union U88 switch (long) {
+ case 1: UString b_86_1;
+ case 2: long b_86_2;
+};
struct UBar {
long foo;
};
+typedef UBar UBarArray[2];
union U87 switch (long) {
case 1: UBar b_87_1;
case 2: long b_87_2;
};
+union U89 switch (long) {
+ case 1: UBarArray b_87_1;
+ case 2: long b_87_2;
+};