summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/fwd.idl
blob: 59dc7c757002c48c0db22b7c16aa48c801f2a1db (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    fwd.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.
//
// ============================================================================

// This file, along with its companion full.idl, test the
// handling of forward interface declarations that are
// not defined in the same IDL file. The two files have
// mutually dependent interfaces. It is no longer necessary
// for such ILD files to include each other, as long as 
// they are part of the same build.

module mod1
{
  module mod2
  {
    interface fwd;

    interface full
    {
      fwd op (in fwd inarg,
              inout fwd inoutarg,
              out fwd outarg);
    };

    typedef sequence<full, 5> full_seq2;

    interface fwd;
  };
};