diff --git a/thrift/test/FastProto.thrift b/thrift/test/FastProto.thrift index 4136904d701..20258b13323 100644 --- a/thrift/test/FastProto.thrift +++ b/thrift/test/FastProto.thrift @@ -54,6 +54,6 @@ struct StructWithUnion { struct NegativeFieldId { -1: i32 anInteger; - 0: string aString; + 0: string aString (cpp.deprecated_allow_zero_as_field_id); 5: double aDouble; }