summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/idl_specs/constant.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/idl_specs/constant.idl')
-rw-r--r--TAO/TAO_IDL/idl_specs/constant.idl31
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/idl_specs/constant.idl b/TAO/TAO_IDL/idl_specs/constant.idl
new file mode 100644
index 00000000000..3ccded681e1
--- /dev/null
+++ b/TAO/TAO_IDL/idl_specs/constant.idl
@@ -0,0 +1,31 @@
+// $Id$
+
+const short l = 4;
+
+enum N { zero, un , deux, trois };
+
+exception E {
+ short cause ;
+ };
+
+module M {
+ const short l = 4;
+
+ enum N { zero, un , deux, trois };
+
+ exception E {
+ short cause ;
+ };
+
+ interface A {
+ const short l = 4;
+
+ enum N { zero, un , deux, trois };
+
+ exception E {
+ short cause ;
+ };
+ N foo(in N x, out N y, inout N z);
+ };
+};
+