summaryrefslogtreecommitdiff
path: root/slicer/test/optionals.ice
diff options
context:
space:
mode:
Diffstat (limited to 'slicer/test/optionals.ice')
-rw-r--r--slicer/test/optionals.ice19
1 files changed, 19 insertions, 0 deletions
diff --git a/slicer/test/optionals.ice b/slicer/test/optionals.ice
new file mode 100644
index 0000000..63476ad
--- /dev/null
+++ b/slicer/test/optionals.ice
@@ -0,0 +1,19 @@
+#ifndef SLICER_TEST_OPTIONALS
+#define SLICER_TEST_OPTIONALS
+
+#include <classes.ice>
+#include <structs.ice>
+#include <collections.ice>
+
+module TestModule {
+ class Optionals {
+ optional(0) int optSimple;
+ optional(1) StructType optStruct;
+ optional(2) ClassType optClass;
+ optional(3) Classes optSeq;
+ optional(4) ClassMap optDict;
+ };
+};
+
+#endif
+