summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/typedef.idl
blob: 4846c5ef676b12cecd2e3b9550b412e10c959846 (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
// $Id$

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


// Must keep unaliasing until all levels of typedef
// are removed.

typedef char A5[5];

typedef A5 C5;

typedef C5 G5;

typedef G5 J5;

// Haven't found a way to make HP/UX compilers 
// happy with the code generated for an array
// containing a typedef'd array yet. There may
// be others so, for now...
#if 0

typedef J5 M5[5];

typedef M5 R5;

typedef R5 V5;

typedef V5 Z5[5];

#endif /* 0 */