summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1636_Regression/test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_1636_Regression/test.idl')
-rw-r--r--TAO/tests/Bug_1636_Regression/test.idl26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tests/Bug_1636_Regression/test.idl b/TAO/tests/Bug_1636_Regression/test.idl
new file mode 100644
index 00000000000..bcc36ac8d64
--- /dev/null
+++ b/TAO/tests/Bug_1636_Regression/test.idl
@@ -0,0 +1,26 @@
+//
+// $Id$
+//
+module UnionIecs
+{
+ enum E_type_num
+ {
+ E_type_num_called_party_number,
+ E_type_num_calling_party_number,
+ E_type_num_inconnu
+ };
+
+ typedef octet T_champ_num;
+
+ struct S_i_num
+ {
+ E_type_num type_num;
+ T_champ_num nature;
+ };
+
+ union S_num switch (boolean)
+ {
+ case TRUE :
+ S_i_num num;
+ } ;
+};