Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / IDL_Test / array_anonymous.idl
blob7303d219625c509ce17e831f1a24881a86ddefd6
2 //=============================================================================
3 /**
4 * @file array_anonymous.idl
6 * This file contains examples of IDL code that has
7 * caused problems in the past for the TAO IDL
8 * compiler. This test is to make sure the problems
9 * stay fixed.
11 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
13 //=============================================================================
15 // Once a problem with expressions in the brackets,
16 // as well as the typedef'd/anonymous thing.
17 interface tdef
19 const short byteslen = 12;
20 typedef octet Bytes[byteslen + 1];
22 struct bytes_or_longs
24 Bytes the_bytes; // typedef'd
25 long Longs[byteslen]; // anonymous
29 // To test that all the octet arrays build and link as
30 // unique types.
31 module ABCModule
33 struct RmtPhysicalInfo
35 octet rmtNodeId[22];
36 octet rmtDetails[22];
39 struct bbbBubBubBubBaby
41 octet rmtNodeId[22];
42 octet rmtDetails[22];