+2009-05-31 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-alignof.c: Include <stdint.h>. Check also 'long double'
+ and 'int64_t'.
+ * modules/alignof-tests (Dependencies): Add stdint.
+ Reported by Eric Blake.
+
2009-05-31 Bruno Haible <bruno@clisp.org>
* lib/alignof.h (alignof_slot, alignof_type, alignof): Document
#include <alignof.h>
#include <stddef.h>
+#include <stdint.h>
#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;
CHECK (long)
CHECK (float)
CHECK (double)
+CHECK (long double)
+CHECK (int64_t)
CHECK (struct1)
CHECK (struct2)
CHECK (struct3)