aboutsummaryrefslogtreecommitdiff
path: root/tests/multiple_files/callbacks2.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiple_files/callbacks2.proto')
-rw-r--r--tests/multiple_files/callbacks2.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/multiple_files/callbacks2.proto b/tests/multiple_files/callbacks2.proto
new file mode 100644
index 0000000..9a55e15
--- /dev/null
+++ b/tests/multiple_files/callbacks2.proto
@@ -0,0 +1,9 @@
+// Test if including generated header file for this file + implicit include of
+// callbacks.pb.h still compiles. Used with test_compiles.c.
+import "callbacks.proto";
+
+message Callback2Message {
+ required TestMessage tstmsg = 1;
+ required SubMessage submsg = 2;
+}
+