summaryrefslogtreecommitdiffstats
path: root/tests/options.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/options.proto')
-rw-r--r--tests/options.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/options.proto b/tests/options.proto
index 6ba7c070..e296bcd1 100644
--- a/tests/options.proto
+++ b/tests/options.proto
@@ -31,3 +31,9 @@ message Message4
required int32 int32_callback = 1 [(nanopb).type = FT_CALLBACK];
}
+// Short enum names
+enum Enum1
+{
+ option (nanopb_enumopt).long_names = false;
+ EnumValue1 = 1;
+}