summaryrefslogtreecommitdiff
path: root/test/ThriftTest.thrift
diff options
context:
space:
mode:
Diffstat (limited to 'test/ThriftTest.thrift')
-rw-r--r--test/ThriftTest.thrift5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift
index ac49aee01..4a1045fcd 100644
--- a/test/ThriftTest.thrift
+++ b/test/ThriftTest.thrift
@@ -411,3 +411,8 @@ struct StructB {
struct OptionalSetDefaultTest {
1: optional set<string> with_default = [ "test" ]
}
+
+struct OptionalBinary {
+ 1: optional set<binary> bin_set = {}
+ 2: optional map<binary,i32> bin_map = {}
+}