summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL3/Events/Abstract/Abstract.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tests/IDL3/Events/Abstract/Abstract.idl')
-rw-r--r--CIAO/tests/IDL3/Events/Abstract/Abstract.idl38
1 files changed, 38 insertions, 0 deletions
diff --git a/CIAO/tests/IDL3/Events/Abstract/Abstract.idl b/CIAO/tests/IDL3/Events/Abstract/Abstract.idl
new file mode 100644
index 00000000000..15eb50971b3
--- /dev/null
+++ b/CIAO/tests/IDL3/Events/Abstract/Abstract.idl
@@ -0,0 +1,38 @@
+// $Id$
+/**
+ * @file Abstract.idl
+ * @author Will Otte <wotte@dre.vanderbilt.edu>
+ *
+ * Tests the compilation of abstract events.
+ */
+
+#include <Components.idl>
+
+module AbstractEvents
+{
+ abstract eventtype foo_event
+ {
+ };
+
+ abstract eventtype InhFoo_event : foo_event
+ {
+ };
+
+ abstract eventtype bar_event
+ {
+ };
+
+ abstract eventtype foobar_event : foo_event, bar_event
+ {
+ };
+
+ // test event multiple inheretance
+
+ eventtype concrete_foo
+ {
+ };
+
+ eventtype concrete_foobar : concrete_foo, foo_event
+ {
+ };
+};