summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/objects/Test.ice
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/objects/Test.ice')
-rw-r--r--cpp/test/Ice/objects/Test.ice11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/test/Ice/objects/Test.ice b/cpp/test/Ice/objects/Test.ice
index abbc1b87dc2..638d36dd22f 100644
--- a/cpp/test/Ice/objects/Test.ice
+++ b/cpp/test/Ice/objects/Test.ice
@@ -23,6 +23,11 @@ class Base
string str;
};
+exception BaseEx
+{
+ string reason;
+};
+
class AbstractBase extends Base
{
void op();
@@ -164,6 +169,12 @@ class Initial
void throwInnerSubEx() throws Inner::Sub::Ex;
};
+interface TestIntf
+{
+ Base opDerived();
+ void throwDerived() throws BaseEx;
+};
+
class Empty
{
};