protobuf-c/t/issue220/issue220.c

14 lines
320 B
C
Raw Normal View History

2017-02-25 14:35:07 -05:00
#include <assert.h>
#include <stdlib.h>
#include <limits.h>
#include "t/issue220/issue220.pb-c.h"
int main(void)
{
assert(_MESSAGE_TYPE1__FLAG_IS_INT_SIZE == INT_MAX);
assert(_MESSAGE_TYPE2__ANOTHER_FLAG_IS_INT_SIZE == INT_MAX);
assert(_TOP_LEVEL__SUBMESSAGES__CASE_IS_INT_SIZE == INT_MAX);
2017-02-25 14:35:07 -05:00
return EXIT_SUCCESS;
}