From 49bd3f35a0b6db0fa47d2e6e8fe9ddfb1bbcd58b Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Wed, 23 Oct 2013 21:01:11 +0300 Subject: Generate message size #defines also for messages defined in multiple files. Add testcase for the same. --- tests/message_sizes/dummy.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/message_sizes/dummy.c (limited to 'tests/message_sizes/dummy.c') diff --git a/tests/message_sizes/dummy.c b/tests/message_sizes/dummy.c new file mode 100644 index 00000000..767ad463 --- /dev/null +++ b/tests/message_sizes/dummy.c @@ -0,0 +1,9 @@ +/* Just test that the file can be compiled successfully. */ + +#include "messages2.pb.h" + +int main() +{ + return xmit_size; +} + -- cgit 1.2.3-korg