diff options
Diffstat (limited to 'modules/CIAO/tests/IDL3/Events/Abstract/Abstract.idl')
-rw-r--r-- | modules/CIAO/tests/IDL3/Events/Abstract/Abstract.idl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/CIAO/tests/IDL3/Events/Abstract/Abstract.idl b/modules/CIAO/tests/IDL3/Events/Abstract/Abstract.idl new file mode 100644 index 00000000000..15eb50971b3 --- /dev/null +++ b/modules/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 + { + }; +}; |