diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-24 15:57:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-24 15:57:52 +0100 |
commit | 80730274b0be96dc7841ef3fab1a4ba9a218d774 (patch) | |
tree | acb517d7f2232c153fab808900c11c38b8a9f33b | |
parent | 02e84ffc98c6fb43587329d90f15ca3535b3b6f8 (diff) | |
parent | 69156b0c6d64aa79ab27d2450e405a3bb458643c (diff) | |
download | ATCD-80730274b0be96dc7841ef3fab1a4ba9a218d774.tar.gz |
Merge pull request #1355 from jwillemsen/jwi-idltest
Extend union test IDL with more test cases
-rw-r--r-- | TAO/tests/IDL_Test/union.idl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/union.idl b/TAO/tests/IDL_Test/union.idl index a948800268a..7719a23801b 100644 --- a/TAO/tests/IDL_Test/union.idl +++ b/TAO/tests/IDL_Test/union.idl @@ -248,3 +248,34 @@ union TestUnion switch (short) case 2: TestTwoEnum twoEnum; }; +typedef long U41[2][3]; +typedef long U42[2]; + +union U85 switch (long) { + case 1: U41 b_85_1; + 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; +}; |