aboutsummaryrefslogtreecommitdiffstats
path: root/Software/External Repositories/Protobuf/protobuf-c-master/t/issue220/issue220.c
diff options
context:
space:
mode:
Diffstat (limited to 'Software/External Repositories/Protobuf/protobuf-c-master/t/issue220/issue220.c')
-rw-r--r--Software/External Repositories/Protobuf/protobuf-c-master/t/issue220/issue220.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/Software/External Repositories/Protobuf/protobuf-c-master/t/issue220/issue220.c b/Software/External Repositories/Protobuf/protobuf-c-master/t/issue220/issue220.c
new file mode 100644
index 000000000..530f75595
--- /dev/null
+++ b/Software/External Repositories/Protobuf/protobuf-c-master/t/issue220/issue220.c
@@ -0,0 +1,13 @@
+#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_IS_INT_SIZE == INT_MAX);
+ return EXIT_SUCCESS;
+}