/* Test of <alignof.h>.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009-2011 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
#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 (longdouble)
+#ifdef INT64_MAX
+CHECK (int64_t)
+#endif
CHECK (struct1)
CHECK (struct2)
CHECK (struct3)