blob: e70a3995851acc4c1168d15fec622548cc46ef7d [file] [log] [blame]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
syntax = "proto2";
package map_enum_value;
// Test mapped enum value before with unknown values.
message MapEnumValue {
enum NestedEnum {
// Unknown values should default to this.
UNKNOWN = 0;
// A known value to test control.
NEW_VALUE = 1;
}
map<string, NestedEnum> values = 1;
}