File: use-reserved-id.proto

package info (click to toggle)
flatbuffers 23.5.26%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,072 kB
  • sloc: cpp: 48,239; python: 6,852; cs: 5,545; java: 4,365; ansic: 2,498; php: 1,460; javascript: 1,040; xml: 1,016; sh: 884; makefile: 37
file content (10 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
// Sample .proto file that we can not translate to the corresponding .fbs because it has used ids from reserved ids.

option some_option = is_ignored;

package proto.test;

message ProtoMessage {
  reserved 200, 9 to 11, 1500;
  optional sint32 reserved_id_usage = 10;
}