repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git]
/
TAO
/
tests
/
Bug_2144_Regression
/
test.idl
blob
9513a089c7f8f511fb607b244f3039fc05fd469b
1
module
Test
2
{
3
enum
Selector
{
STRUCTTYPE
,
VALTYPE
};
4
5
struct
Foo
{
long
l
; } ;
6
7
valuetype Bar
{
public short
s
; } ;
8
9
union
MyUnion
switch
(
Selector
)
10
{
11
case
STRUCTTYPE
:
Foo fooData
;
12
case
VALTYPE
:
Bar barData
;
13
};
14
};