summaryrefslogtreecommitdiff
path: root/tests/IDL_Test/reopen_include1.idl
blob: 6944d33fa042ac78cc8149c4b4b64230fe026320 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

//=============================================================================
/**
 *  @file    reopen_include1.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.
 */
//=============================================================================


#ifndef IDL_TEST_REOPEN_INCLUDE1_IDL
#define IDL_TEST_REOPEN_INCLUDE1_IDL

// First opening of a module included by a chain of
// inclusions into reopened_modules.idl
module frag
{
  typedef sequence<double> dub_seq;
};

// These are in each file in the reopened_modules chain,
// and in reopened_modules.idl, test interface parent lookup.
module A
{
  module B
  {
    interface X1
    {
      string getX1 ();
    };
  };
};

#endif /* IDL_TEST_REOPEN_INCLUDE1_IDL */