Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 1 | // Copyright 2019 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 | syntax = "proto2"; |
| 6 | |
| 7 | package goproto.proto.irregular; |
| 8 | |
| 9 | option go_package = "google.golang.org/protobuf/internal/testprotos/irregular"; |
| 10 | |
| 11 | // IrregularMessage is a message with an implementation that does not match the |
| 12 | // usual structure of a generated message. |
| 13 | message IrregularMessage { |
| 14 | optional string s = 1; |
| 15 | } |
| 16 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 17 | // AberrantMessage is a message with an implementation with a non-struct underlying type. |
| 18 | message AberrantMessage { |
| 19 | } |