summaryrefslogtreecommitdiff
path: root/trunk/TAO/examples/TypeCode_Creation/test.idl
blob: e8fda6b204f9b52ac8c617d26f86e560b50c2a31 (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
// $Id$
//===============================================================================
//
// = FILENAME
//     test.idl
//
//==================================================================================

// IDL

interface iface {};

union foo switch (short)
{
  case  3:
  case  4:
  case  1: string foo_str_member;
  default: iface foo_iface_member;
  case  0: iface foo_iface_member2;
};

struct bar
{
  long bar_long_member;
  foo bar_foo_member;
};