// $Id: included.idl 75925 2006-12-08 22:32:49Z parsons $

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    included.idl
//
// = DESCRIPTION
//    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.
//
// = AUTHORS
//    Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
//
// ============================================================================

#ifndef IDL_TEST_INCLUDED_IDL
#define IDL_TEST_INCLUDED_IDL

// Included in IDL file 'including.idl'.
module Aok
{
  typedef sequence<double> Seq1Type;
  typedef long Me;
};

enum Agog
{
  Agog1,
  Agog2,
  Agog3
};

// This valuetype is used in a sequence in the including file,
// and tests that Value_VarOut_T.h is included early enough.
module VT_Def
{
  valuetype VT {};
};

// A valuetype in valuetype.idl inherits from this one.
// In the original bug, the name for this valuetype's
// anonymous sequence member was not created in the derived
// valuetype's AST, so when the arglist for the derived
// valuetype's constructor w/arglist was generated, the member
// below was named 'sequence', which of course didn't compile.
valuetype IncludedBase
{
  public sequence<long> DeprecatedMember;
};

#endif /* IDL_TEST_INCLUDED_IDL */
