blob: 95b8eae7591bd0f314928fd3641d1bae167944e6 (
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
52
53
54
55
56
57
58
|
//=============================================================================
/**
* @file full.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.
*/
//=============================================================================
// This file, along with its companion fwd.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 scope_test
{
interface i_scope_test {};
};
module mod2
{
interface fwd;
interface full;
interface fwd
{
attribute string attr;
union un switch (short)
{
case 0: full full_mem;
};
typedef sequence<full> full_seq;
exception bar {};
full op (inout full full_arg,
inout un un_arg,
inout full_seq full_seq_arg)
raises (bar);
};
interface full;
interface fwd;
};
|