aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorJoey Yakimowich-Payne <jyapayne@gmail.com>2020-05-01 07:20:45 -0600
committerJoey Yakimowich-Payne <jyapayne@gmail.com>2020-05-01 07:20:45 -0600
commit34043bd5af52d20df1e85f28c4369d5810248017 (patch)
tree80529407149e9b394bc05287d67a2a0d24a9654d /tests/include
parent4784616d987c3b7c73125af44bec999184444a22 (diff)
downloadnimterop-34043bd5af52d20df1e85f28c4369d5810248017.tar.gz
nimterop-34043bd5af52d20df1e85f28c4369d5810248017.zip
Fix #198: integer out of range
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/tast2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index b47a801..e1d4529 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -33,6 +33,9 @@ extern "C" {
#define EQ5 AVAL != BVAL
#define EQ6 AVAL == BVAL
+// testing integer out of long int range
+#define INT_FAST16_MIN (-9223372036854775807L-1)
+
#define SIZEOF sizeof(char)
#define REG_STR "regular string"
#define NOTSUPPORTEDSTR "not a " REG_STR