Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / IDL_Test / attribute.idl
blob79ed7a197f693603c06c7e97201688ed6a1baa98
1 module Hello
3 exception InternalErrorA
5 };
6 exception InternalErrorB
8 };
10 typedef short MyType;
12 // Sender/Receiver interface
13 interface MyFoo
15 attribute MyType rw_attrib_mytype
16 getraises (InternalErrorA)
17 setraises (InternalErrorB);
19 attribute short rw_attrib
20 getraises (InternalErrorA)
21 setraises (InternalErrorB);
23 attribute short rw_attrib_reverted
24 getraises (InternalErrorB)
25 setraises (InternalErrorA);
27 attribute short rw_attribB
28 getraises (InternalErrorB);
30 readonly attribute short ro_attrib
31 raises (InternalErrorB);