=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / IDLv4 / union_disc / test.idl
blob92c34251c9c4e4b463f2d1dbae62e458d8ad030c
1 typedef wchar wchar_t;
2 const wchar wchar_const = L'u';
3 union WcharUnion switch (wchar_t) {
4 /* TODO: https://github.com/DOCGroup/ACE_TAO/issues/1284
5 case L'\u0':
6 boolean b;
7 */
8 case L'i':
9 int32 i32;
10 case wchar_const:
11 uint32 u32;
12 /* TODO: https://github.com/DOCGroup/ACE_TAO/issues/1284
13 case L'\uffff':
14 string s;
18 typedef octet octet_t;
19 const octet octet_const = 1;
20 union OctetUnion switch (octet_t) {
21 case 0:
22 octet a;
23 case octet_const:
24 octet b;
25 case 255:
26 octet c;
29 typedef uint8 uint8_t;
30 const uint8 uint8_const = 1;
31 union Uint8Union switch (uint8_t) {
32 case 0:
33 uint8 a;
34 case uint8_const:
35 uint8 b;
36 case 255:
37 uint8 c;
40 typedef int8 int8_t;
41 const int8 int8_const = 1;
42 union Int8Union switch (int8_t) {
43 case -128:
44 int8 a;
45 case 0:
46 int8 b;
47 case int8_const:
48 int8 c;
49 case 127:
50 int8 d;