• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Protocol Buffers - Google's data interchange format
2// Copyright 2008 Google Inc.  All rights reserved.
3//
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file or at
6// https://developers.google.com/open-source/licenses/bsd
7
8// Test that features with legacy descriptor helpers get properly converted.
9
10edition = "2023";
11
12package legacy_features_unittest;
13
14message TestEditionsMessage {
15  int32 required_field = 1 [features.field_presence = LEGACY_REQUIRED];
16  TestEditionsMessage delimited_field = 2
17      [features.message_encoding = DELIMITED];
18}
19