diff options
Diffstat (limited to 'tests/IDL_Test/anyunion.idl')
-rw-r--r-- | tests/IDL_Test/anyunion.idl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/IDL_Test/anyunion.idl b/tests/IDL_Test/anyunion.idl new file mode 100644 index 00000000000..adb185425b0 --- /dev/null +++ b/tests/IDL_Test/anyunion.idl @@ -0,0 +1,27 @@ + +//============================================================================= +/** + * @file anyunion.idl + * + * $Id$ + * + * This file contains examples of IDL code that has + * caused problems in the past for the TAO IDL + * compiler. This test is to make sure the problems + * stay fixed. + * + * + * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users. + */ +//============================================================================= + + +// AnyUnion +enum AnyUnionEnum { + ANYUNIONENUM2 +}; + +union MyAnyUnion switch (AnyUnionEnum) { + case ANYUNIONENUM2: + any my_any; +}; |