summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/anyunion.idl
blob: adb185425b0195008ede9e31ef8ff2b2565098a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
};