blob: ac3a32fce213aafbfbaad1e206b4e4e6963633b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// $Id$
module CallMe
{
union YourColorBaby switch (enum ColorMe { Red, Blue })
{
case Red: long c_1;
case Blue: long c_2;
};
// Disabled, see bug_3312
/* union YourCar switch (enum ColorMe { Green, Pink })
{
case Green: short c_1;
case Pink: short c_2;
};
*/
};
|