blob: ddc11ff2e677f13a3f5916d5dfba38c9d591f685 [file] [log] [blame]
// Copyright 2020 The Pigweed Authors
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
syntax = "proto3";
// Test that non-pigweed packages work as expected when generating code. Pigweed
// packages start with `package pw.*` which results in some implicit
// namespacing in generated code.
// Packed has both a repeated and length delimited messaged type. This should
// result in a span being generated in the corresponding *pwpb.h file.
message Packed {
string packed = 1;
repeated int64 rep = 2;