summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/typedef.idl
blob: 01f4a1d5ba2257efc64c0263c1b53082b2c207bf (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
//    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.

// This is also a test of arrays of arrays. Once 
// upon a time, the generated CDR operators of such 
// animals wouldn't compile on all platforms.

typedef char A5[5];

typedef A5 C5;

typedef C5 G5;

typedef G5 J5;

typedef J5 M5[5];

typedef M5 R5;

typedef R5 V5;

typedef V5 Z5[5];