MOS Source Code
Loading...
Searching...
No Matches
test_initializer.c
Go to the documentation of this file.
1#include "initializertest.pb.h"
2
3int main()
4{
5 TestMessage msg1 = TestMessage_init_zero;
6 TestMessage msg2 = TestMessage_init_default;
7 return msg1.field1 + msg2.field1; /* Mark variables as used for compiler */
8}
int main()