...

Text file src/google.golang.org/protobuf/internal/testprotos/legacy/bug1052/bug1052.proto

Documentation: google.golang.org/protobuf/internal/testprotos/legacy/bug1052

     1// Copyright 2020 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5// This file exercises a deadlock in registation of legacy extensions:
     6// https://github.com/golang/protobuf/issues/1052
     7//
     8// The corresponding .pb.go file was generated with protoc 3.11.3 and
     9// protoc-gen-go 1.3.3.
    10
    11syntax = "proto2";
    12
    13package goproto.proto.legacy;
    14
    15import "google/protobuf/descriptor.proto";
    16
    17option go_package = "google.golang.org/protobuf/internal/testprotos/legacy/bug1052";
    18
    19enum Enum {
    20  ZERO = 0;
    21}
    22
    23extend google.protobuf.MethodOptions {
    24  optional Enum extension_enum = 5000;
    25}
    26

View as plain text