projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: update cygwin progress
[gnulib.git]
/
tests
/
test-alignof.c
diff --git
a/tests/test-alignof.c
b/tests/test-alignof.c
index
73694aa
..
a8b6d18
100644
(file)
--- a/
tests/test-alignof.c
+++ b/
tests/test-alignof.c
@@
-1,5
+1,5
@@
/* Test of <alignof.h>.
/* Test of <alignof.h>.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009
, 2010
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
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 <alignof.h>
#include <stddef.h>
#include <alignof.h>
#include <stddef.h>
+#include <stdint.h>
#include "verify.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;
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 (long)
CHECK (float)
CHECK (double)
+CHECK (longdouble)
+#ifdef INT64_MAX
+CHECK (int64_t)
+#endif
CHECK (struct1)
CHECK (struct2)
CHECK (struct3)
CHECK (struct1)
CHECK (struct2)
CHECK (struct3)