summaryrefslogtreecommitdiffstats
path: root/tests/no_messages.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-07-05 20:02:06 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-07-05 20:02:06 +0300
commitd8bddabb8372d1c684d7cd7cf4bb04131acb9ff1 (patch)
treea9c1c36d7f3c2c64db109d7c07ca247ea4102aff /tests/no_messages.proto
parent01a155689828574047a8377d595a0ad038c48917 (diff)
Fix bug with .proto without messages (again), and add a test case for it.
Diffstat (limited to 'tests/no_messages.proto')
-rw-r--r--tests/no_messages.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/no_messages.proto b/tests/no_messages.proto
new file mode 100644
index 00000000..279216b0
--- /dev/null
+++ b/tests/no_messages.proto
@@ -0,0 +1,7 @@
+/* Test that a file without any messages works. */
+
+enum Test {
+ First = 1;
+}
+
+