summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-01-12 00:16:18 +0000
committerManish Singh <yosh@src.gnome.org>2004-01-12 00:16:18 +0000
commit31a1fedf68b1ebcdd9d4bf3d85b1aa53044afd4e (patch)
tree1b99d78adbd64945694474954ae0c8800d0181c7 /tests
parent3fa27319e9e112c6585493f275133f64a1b5501e (diff)
Add G_MAXSIZE, define in terms of G_MAXUfoo.
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org> * configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo. * tests/type-test.c: Add test for G_MAXSIZE. * glibconfig.h.win32.in: Cleanup, add some missing bits.
Diffstat (limited to 'tests')
-rw-r--r--tests/type-test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/type-test.c b/tests/type-test.c
index 5163b1f82..f8405edd7 100644
--- a/tests/type-test.c
+++ b/tests/type-test.c
@@ -41,6 +41,7 @@ main (int argc,
gushort gus;
guint gui;
gulong gul;
+ gssize gsz;
gshort gs;
gint gi;
glong gl;
@@ -83,6 +84,10 @@ main (int argc,
gul++;
g_assert (gul == 0);
+ gsz = G_MAXSIZE;
+ gsz++;
+ g_assert (gsz == 0);
+
gs = G_MAXSHORT;
gs++;
g_assert (gs == G_MINSHORT);