summaryrefslogtreecommitdiff
path: root/idlc/test/singleton.idl
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/test/singleton.idl')
-rw-r--r--idlc/test/singleton.idl41
1 files changed, 41 insertions, 0 deletions
diff --git a/idlc/test/singleton.idl b/idlc/test/singleton.idl
new file mode 100644
index 000000000000..a4b2590c726a
--- /dev/null
+++ b/idlc/test/singleton.idl
@@ -0,0 +1,41 @@
+#include <interface.idl>
+
+module idlc
+{
+module test
+{
+
+exception bla
+{
+};
+
+service IdlTest
+{
+// [property] bla p0;
+ [property] short p1;
+ [optional, property] unsigned short p2;
+
+ [maybevoid, property] long p3;
+ [bound, property] unsigned long p4;
+
+ [constrained, property] hyper p5;
+ [transient, property] unsigned hyper p6;
+
+ [maybeambiguous, property] string p7;
+ [maybedefault, property] type p8;
+ [removable, property] any p9;
+
+ [readonly, optional, removable, property] ::idlc::test::BaseStruct p10;
+
+ interface XTestBaseTypes;
+ [optional] interface ::idlc::test::XTestComplexTypes;
+};
+
+singleton SingletonTest
+{
+ service IdlTest;
+};
+
+};
+};
+