2 //=============================================================================
4 * @file enum_in_struct.idl
6 * This file contains examples of IDL code that has
7 * caused problems in the past for the TAO IDL
8 * compiler. This test is to make sure the problems
12 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
14 //=============================================================================
17 // Tests for correct parsing and code generation for
18 // both named and anonymous enums in a struct.
39 // Test for anonymous arrays of member declarations
41 struct decl_heavy_struct
56 union un
switch (long)
63 // Similar case for exception included here - no sense
64 // in making a separate file for exceptions, which are
65 // almost the same as structs.
67 exception ErrorException