summaryrefslogtreecommitdiff
path: root/ruby/test/Ice/objects/Test.ice
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Ice/objects/Test.ice')
-rw-r--r--ruby/test/Ice/objects/Test.ice15
1 files changed, 15 insertions, 0 deletions
diff --git a/ruby/test/Ice/objects/Test.ice b/ruby/test/Ice/objects/Test.ice
index d22849cb7cb..b4e0f3fd690 100644
--- a/ruby/test/Ice/objects/Test.ice
+++ b/ruby/test/Ice/objects/Test.ice
@@ -163,6 +163,16 @@ class M
LMap v;
}
+// Forward declaration
+class F1;
+interface F2;
+
+class F3
+{
+ F1 f1;
+ F2* f2;
+}
+
class Initial
{
void shutdown();
@@ -202,6 +212,11 @@ class Initial
Compact getCompact();
M opM(M v1, out M v2);
+
+ F1 opF1(F1 f11, out F1 f12);
+ F2* opF2(F2* f21, out F2* f22);
+ F3 opF3(F3 f31, out F3 f32);
+ bool hasF3();
}
}