diff options
Diffstat (limited to 'ACE/TAO/tests/Bug_2144_Regression/test.idl')
-rw-r--r-- | ACE/TAO/tests/Bug_2144_Regression/test.idl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Bug_2144_Regression/test.idl b/ACE/TAO/tests/Bug_2144_Regression/test.idl new file mode 100644 index 00000000000..28335e7e932 --- /dev/null +++ b/ACE/TAO/tests/Bug_2144_Regression/test.idl @@ -0,0 +1,17 @@ +// +// $Id$ +// +module Test +{ + enum Selector { STRUCTTYPE, VALTYPE }; + + struct Foo { long l; } ; + + valuetype Bar { public short s; } ; + + union MyUnion switch (Selector) + { + case STRUCTTYPE: Foo fooData; + case VALTYPE: Bar barData; + }; +}; |