summaryrefslogtreecommitdiff
path: root/tests/IDL_Test/reopen_include2.idl
blob: 19db6d6ff3a7c29c3ede235dc502b602d896c17b (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
43
44
45
46
47
48
49
50
51
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    reopen_include2.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_REOPEN_INCLUDE2_IDL
#define IDL_TEST_REOPEN_INCLUDE2_IDL

#include "reopen_include1.idl"

// #included by reopened modules.idl along with
// same module in reopen_include1.idl.
module frag
{
  struct pug {short leash;};
};

// These three are reopened in reopened_modules.idl.
module XX 
{
  typedef long whah;
};

module A
{
  module B
  {
    interface X2
    {
      string getX2 ();
    };
  };
};

#endif /* IDL_TEST_REOPEN_INCLUDE2_IDL */