summaryrefslogtreecommitdiff
path: root/tests/webtbs/tw9509.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/webtbs/tw9509.pp')
-rw-r--r--tests/webtbs/tw9509.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/webtbs/tw9509.pp b/tests/webtbs/tw9509.pp
new file mode 100644
index 0000000000..0d9fc5e4cd
--- /dev/null
+++ b/tests/webtbs/tw9509.pp
@@ -0,0 +1,22 @@
+{$mode objfpc}
+{$interfaces corba}
+type
+ generic IList<TElem> = interface
+ end;
+
+ generic ISet<TElem> = interface
+ end;
+
+ generic IMap<TKey, TValue> = interface
+
+ type
+ TKeySet = specialize ISet<TKey>; // wrong syntax?
+ TValueSet = specialize IList<TValue>; // wrong syntax?
+
+ function Keys : TKeySet;
+ function Values : TValueSet;
+ end;
+
+begin
+end.
+