X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-alignof.c;h=c2d2a8dfd44239a3ed33866057fea5b1caf42991;hb=46f5f314f34a08c9305758482d7d2fdb0e999d09;hp=73694aa5e257a9a8f38031f8571235d2467970e5;hpb=757fcfd1ef1892f1472c0712acdf8a2d4ec774da;p=gnulib.git diff --git a/tests/test-alignof.c b/tests/test-alignof.c index 73694aa5e..c2d2a8dfd 100644 --- a/tests/test-alignof.c +++ b/tests/test-alignof.c @@ -1,5 +1,5 @@ /* Test of . - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,9 +21,11 @@ #include #include +#include #include "verify.h" +typedef long double longdouble; typedef struct { char a[1]; } struct1; typedef struct { char a[2]; } struct2; typedef struct { char a[3]; } struct3; @@ -41,6 +43,10 @@ CHECK (int) CHECK (long) CHECK (float) CHECK (double) +CHECK (longdouble) +#ifdef INT64_MAX +CHECK (int64_t) +#endif CHECK (struct1) CHECK (struct2) CHECK (struct3)