OSDN Git Service

PR testsuite/24841
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / ia64-types2.c
1 /* { dg-do run { target ia64*-hp-hpux* } } */
2 /* { dg-options } */
3
4 /* Test that the sizes and alignments of the extra floating-point
5    types are correct.  */
6
7 int main () {
8   if (sizeof (__fpreg) != 16)
9     return 1;
10   if (__alignof__ (__fpreg) != 16)
11     return 2;
12
13   if (sizeof (__float80) != 16)
14     return 3;
15   if (__alignof__ (__float80) != 16)
16     return 4;
17
18   return 0;
19 }
20