1*1c12ee1eSDan Willemsen// Copyright 2019 The Go Authors. All rights reserved. 2*1c12ee1eSDan Willemsen// Use of this source code is governed by a BSD-style 3*1c12ee1eSDan Willemsen// license that can be found in the LICENSE file. 4*1c12ee1eSDan Willemsen 5*1c12ee1eSDan Willemsensyntax = "proto2"; 6*1c12ee1eSDan Willemsen 7*1c12ee1eSDan Willemsenpackage goproto.proto.irregular; 8*1c12ee1eSDan Willemsen 9*1c12ee1eSDan Willemsenoption go_package = "google.golang.org/protobuf/internal/testprotos/irregular"; 10*1c12ee1eSDan Willemsen 11*1c12ee1eSDan Willemsen// IrregularMessage is a message with an implementation that does not match the 12*1c12ee1eSDan Willemsen// usual structure of a generated message. 13*1c12ee1eSDan Willemsenmessage IrregularMessage { 14*1c12ee1eSDan Willemsen optional string s = 1; 15*1c12ee1eSDan Willemsen} 16*1c12ee1eSDan Willemsen 17*1c12ee1eSDan Willemsen// AberrantMessage is a message with an implementation with a non-struct underlying type. 18*1c12ee1eSDan Willemsenmessage AberrantMessage { 19*1c12ee1eSDan Willemsen} 20