summaryrefslogtreecommitdiff
path: root/TAO/tests/IDLv4/anonymous_types/test.idl
blob: eee64242483c40afd4ca3e786149ec5ea77d0868 (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
/*
 * This is just a simple test making sure anonymous types work in IDL4 since
 * there is already a test file at tests/IDL_Test/anonymous.idl.
 */

struct TestStruct {
  short short_array[10];
  short another_short_array[10];
  sequence<long> long_sequence;
  sequence<long> another_long_sequence;
  sequence<long, 3> bounded_long_sequence;
  sequence<long, 3> another_bounded_long_sequence;
};

// Another struct, different lengths
struct AnotherTestStruct {
  short short_array[9];
  short another_short_array[9];
  short another_short_10_array[10];
  sequence<long> long_sequence;
  sequence<long> another_long_sequence;
  sequence<long, 4> bounded_long_sequence;
  sequence<long, 4> another_bounded_long_sequence;
  sequence<long, 3> another_bounded_3_long_sequence;
};