summaryrefslogtreecommitdiff
path: root/tests/test_cpp.proto
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-03-06 12:17:34 -0800
committerGitHub <noreply@github.com>2019-03-06 12:17:34 -0800
commited9faae0993704b033c594b072d65e1bf19207fa (patch)
treedf2777687abddf1335427d06942ba3436edf8c0b /tests/test_cpp.proto
parent51f30e064b8e88af8e7d429c5a54c25f28c68b02 (diff)
parent71ec01e34b03557cfed9df5f417791a189e7fca6 (diff)
Merge pull request #141 from haberman/defcleanup
Major refactoring/cleanup of upb
Diffstat (limited to 'tests/test_cpp.proto')
-rw-r--r--tests/test_cpp.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_cpp.proto b/tests/test_cpp.proto
new file mode 100644
index 0000000..f890350
--- /dev/null
+++ b/tests/test_cpp.proto
@@ -0,0 +1,12 @@
+syntax = "proto2";
+
+package upb.test;
+
+message TestMessage {
+ optional int32 i32 = 1;
+ repeated int32 r_i32 = 2;
+ optional string str = 3;
+ repeated string r_str = 4;
+ optional TestMessage msg = 5;
+ repeated TestMessage r_msg = 6;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback